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); }
public function testEndTestSuiteDoNothing() { $this->_eventManager->expects($this->never())->method('fireEvent'); $this->_adapter->expects($this->never())->method($this->anything()); $this->_object->endTestSuite(); }
public function testInitFrontControllerBefore() { $this->_eventManager->expects($this->once())->method('fireEvent')->with('initFrontControllerBefore'); $this->_object->initFrontControllerBefore(); }
public function testInitStoreAfter() { $this->_eventManager->expects($this->once())->method('fireEvent')->with('initStoreAfter'); $this->_object->initStoreAfter(); }