コード例 #1
0
 /**
  * @expectedException \Exception
  * @expectedExceptionMessage In module : Fake_ModuleConfigOption::createConfig
  */
 public function testProcessException()
 {
     $configOption = $this->configOptionsList;
     $configOption->expects($this->once())->method('createConfig')->will($this->returnValue([null]));
     $wrongData = ['Fake_Module' => $configOption];
     $this->collector->expects($this->once())->method('collectOptionsLists')->will($this->returnValue($wrongData));
     $this->configModel->process([]);
 }