Ejemplo n.º 1
0
 /**
  * Test shipment remove track
  */
 public function testInvoke()
 {
     $this->trackRepositoryMock->expects($this->once())->method('get')->with($this->equalTo(1))->will($this->returnValue($this->trackMock));
     $this->trackMock->expects($this->once())->method('delete');
     $this->assertTrue($this->shipmentRemoveTrack->invoke(1));
 }