public function findAll() { $appNodes = array(); foreach ($this->getSystemConfiguration()->getApps() as $appNode) { $appNodes[$appNode->getPrimaryKey()] = $appNode; } return $appNodes; }
/** * Test if the findAll() method returns the correct number of elements. * * @return null */ public function testFindAll() { $this->assertCount(4, $this->appService->findAll()); }