Example #1
0
 /**
  * @expectedException \InvalidArgumentException
  */
 public function testSetConfigOfUndefinedSection()
 {
     $this->context->setConfigExtras([new TestConfigSection('section1')]);
     $this->context->setClassName('Test\\Class');
     $this->configProvider->expects($this->never())->method('getConfig');
     $this->context->setConfigOf('undefined', []);
 }