public function testGetEntities() { $crudServiceProvider = new CRUDServiceProvider(); $app = new Application(); $crudServiceProvider->init($this->dataFactory, $this->crudFile, new CRUDNullFileProcessor(), true, $app); $expected = array('library', 'book'); $read = $crudServiceProvider->getEntities(); $this->assertSame($read, $expected); }