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