Exemple #1
0
 public function testOrderAfterCancel()
 {
     $this->markTestIncomplete("Fails");
     $this->_setupObserverMock();
     $helperMock = $this->mockHelper('xcom_xfabric', array('send'));
     $helperMock->expects($this->once())->method('send')->with('order/cancelled', array('order' => $this->_orderMock));
     $retObj = $this->_object->orderAfterCancel($this->_observerMock);
     $this->assertSame($this->_object, $retObj);
 }