Ejemplo n.º 1
0
 /**
  * test shipment email
  */
 public function testEmail()
 {
     $this->shipmentEmailMock->expects($this->once())->method('invoke')->with(1)->will($this->returnValue(true));
     $this->assertTrue($this->shipmentWrite->email(1));
 }
Ejemplo n.º 2
0
 /**
  * @param int $id
  * @return bool
  */
 public function email($id)
 {
     return $this->shipmentEmail->invoke($id);
 }