public function testInitStoreAfter() { $this->_eventManager->expects($this->once())->method('fireEvent')->with('initStoreAfter'); $this->_object->execute($this->getMock('\\Magento\\Framework\\Event\\Observer')); }
public function testInitStoreAfter() { $this->_eventManager->expects($this->once())->method('fireEvent')->with('initStoreAfter'); $this->_object->initStoreAfter(); }
public function testEndTestSuiteDoNothing() { $this->_eventManager->expects($this->never())->method('fireEvent'); $this->_adapter->expects($this->never())->method($this->anything()); $this->_object->endTestSuite(); }
public function testEndTestDoNotFireEvent() { $this->_eventManager->expects($this->never())->method('fireEvent'); $this->_object->endTest(new \PHPUnit_Framework_Warning(), 0); $this->_object->endTest($this->getMock('PHPUnit_Framework_Test'), 0); }