Exemple #1
0
 /**
  * Test shipment add track service
  */
 public function testInvoke()
 {
     $this->trackConverterMock->expects($this->once())->method('getModel')->with($this->equalTo($this->dataObjectMock))->will($this->returnValue($this->dataModelMock));
     $this->dataModelMock->expects($this->once())->method('save');
     $this->assertTrue($this->shipmentAddTrack->invoke($this->dataObjectMock));
 }