configProvider = new ConfigProvider(); } #[Test] public function properConfigIsReturned(): void { $config = ($this->configProvider)(); self::assertCount(4, $config); self::assertArrayHasKey('dependencies', $config); self::assertArrayHasKey('entity_manager', $config); self::assertArrayHasKey('events', $config); self::assertArrayHasKey(ConfigAbstractFactory::class, $config); } }