public function hasPayment($paymentMethodName);
/** * @Then it should have payment state :paymentState */ public function itShouldHavePaymentState($paymentState) { Assert::true($this->showPage->hasPayment($paymentState), sprintf('It should have payment with %s state', $paymentState)); }