public function testConfigureWithNoLoggers()
{
$options = array();
// Mocking the ConfigLoader with the load method
$configLoader = $this->getMockBuilder('Cascade\\Config\\ConfigLoader')->disableOriginalConstructor()->setMethods(array('load'))->getMock();
$configLoader->method('load')->willReturn($options);
// Mocking the config object
$config = $this->getMockBuilder('Cascade\\Config')->setConstructorArgs(array($options, $configLoader))->setMethods(null)->getMock();
$config->load();
// This should trigger an exception because there is no 'loggers' key in
// the options passed in
$config->configure();
}