/**
  * Retrieve options
  *
  * @Revs(10000)
  * @Iterations(10)
  */
 public function benchOptions()
 {
     $this->factory->options($this->config);
 }
 /**
  * Tests if options() throws a runtime exception if a recursive mandatory option is missing
  *
  * @covers \Interop\Config\ConfigurationTrait::optionsWithFallback
  */
 public function testoptionsWithFallback()
 {
     $stub = new ConnectionDefaultOptionsConfiguration();
     $config = $this->getTestConfig();
     self::assertArrayHasKey('params', $stub->optionsWithFallback([]));
     self::assertArrayHasKey('params', $stub->optionsWithFallback($config));
     unset($config['doctrine']['connection']['orm_default']['params']);
     self::assertArrayHasKey('params', $stub->optionsWithFallback($config));
 }