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); } }