Example #1
0
 /**
  * @expectedException \InvalidArgumentException
  * @expectedExceptionMessage The "test" config extra already exists.
  */
 public function testAddDuplicateConfigExtra()
 {
     $configExtras = [new TestConfigExtra('test')];
     $this->context->setConfigExtras($configExtras);
     $this->context->addConfigExtra(new TestConfigExtra('test'));
 }