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