/** * @expectedException \Oro\Bundle\DashboardBundle\Exception\InvalidConfigurationException * @expectedExceptionMessage Can't find configuration for: not found config */ public function testGetConfigHasNoKeyException() { $configProvider = new ConfigProvider(array(), $this->eventDispatcher); $configProvider->getConfig('not found config'); }
/** * @expectedException \Oro\Bundle\DashboardBundle\Exception\InvalidConfigurationException * @expectedExceptionMessage Can't find configuration for: not found config */ public function testGetConfigHasNoKeyException() { $configProvider = new ConfigProvider(array()); $configProvider->getConfig('not found config'); }