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