public function testHasConfig() { $existConfigKey = 'exist key'; $configProvider = new ConfigProvider(array($existConfigKey => array()), $this->eventDispatcher); $this->assertFalse($configProvider->hasConfig('not found config')); $this->assertTrue($configProvider->hasConfig($existConfigKey)); }