public function findAll() { $datasourceNodes = array(); foreach ($this->getSystemConfiguration()->getDatasources() as $datasourceNode) { $datasourceNodes[$datasourceNode->getPrimaryKey()] = $datasourceNode; } return $datasourceNodes; }
/** * Test if the findAll() method returns the correct number of elements. * * @return null */ public function testFindAll() { $this->assertCount(0, $this->service->findAll()); }