/** * @Then the order's payment should (also) be :paymentAmount */ public function theOrdersPaymentShouldBe($paymentAmount) { $actualPaymentAmount = $this->showPage->getPaymentAmount(); Assert::eq($paymentAmount, $actualPaymentAmount); }