/**
  * Retrieve options
  *
  * @Revs(10000)
  * @Iterations(10)
  */
 public function benchOptions()
 {
     $this->factory->options($this->config);
 }
 /**
  * Tests if options() throws a runtime exception if mandatory option is missing
  *
  * @covers \Interop\Config\ConfigurationTrait::options
  * @covers \Interop\Config\ConfigurationTrait::checkMandatoryOptions
  */
 public function testOptionsThrowsMandatoryOptionNotFoundExceptionIfMandatoryOptionIsMissing()
 {
     $stub = new ConnectionMandatoryContainerIdConfiguration();
     $this->setExpectedException('Interop\\Config\\Exception\\MandatoryOptionNotFoundException', 'Mandatory option "params"');
     $config = $this->getTestConfig();
     unset($config['doctrine']['connection']['orm_default']['params']);
     $stub->options($config);
 }