public function testOrderAfterShip() { $this->markTestIncomplete("Causes fatal error"); $this->_setupShipmentObserverMock(); Mage::register('xcom_shipment_new', true); $helperMock = $this->mockHelper('xcom_xfabric', array('send')); $helperMock->expects($this->once())->method('send')->with('order/shipment/shipped', array('shipment' => $this->_shipmentMock)); $retObj = $this->_object->orderAfterShip($this->_observerMock); $this->assertSame($this->_object, $retObj); }