Exemplo n.º 1
0
 public function testDeleteMethodShouldReturnTrue()
 {
     $project = new Project_Model_Project();
     $projectService = new Project_Service_Project();
     $result = $projectService->delete($project);
     $this->assertTrue($result);
 }
Exemplo n.º 2
0
 public function listAction()
 {
     $projectService = new Project_Service_Project();
     $this->view->projects = $projectService->getList();
 }