public function canCompleteOrderLastPayment(OrderInterface $order);
/** * @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.'); }