Example #1
0
 public function testDeleteModel()
 {
     $models = $this->manager->getChildModelsByParentId(31);
     $model = $models[0];
     $this->manager->deleteModel($model);
     $updatedModels = $this->manager->getChildModelsByParentId(31);
     $this->assertCount(0, $updatedModels);
 }