canShipOrder() public method

public canShipOrder ( Sylius\Component\Core\Model\OrderInterface $order ) : boolean
$order Sylius\Component\Core\Model\OrderInterface
return boolean
Exemplo n.º 1
0
 /**
  * @Then /^I should not be able to ship (this order)$/
  */
 public function iShouldNotBeAbleToShipThisOrder(OrderInterface $order)
 {
     Assert::false($this->showPage->canShipOrder($order), 'It should not have ship shipment button.');
 }