public function testCatchException()
 {
     $bootstrap = $this->getMock('Magento\\Framework\\App\\Bootstrap', [], [], '', false);
     $this->assertFalse($this->entryPoint->catchException($bootstrap, new \Exception()));
 }
示例#2
0
 public function testExecute()
 {
     $this->processorMock->expects($this->once())->method('reindexAll');
     $this->assertEquals('0', $this->entryPoint->launch());
 }