canCompleteOrderLastPayment() public method

public canCompleteOrderLastPayment ( Sylius\Component\Core\Model\OrderInterface $order ) : boolean
$order Sylius\Component\Core\Model\OrderInterface
return boolean
示例#1
0
 /**
  * @Then /^I should not be able to mark (this order) as paid again$/
  */
 public function iShouldNotBeAbleToFinalizeItsPayment(OrderInterface $order)
 {
     Assert::false($this->showPage->canCompleteOrderLastPayment($order), 'It should not have complete payment button.');
 }