/** * @Then his shipping address should be :shippingAddress */ public function hisShippingAddressShouldBe($shippingAddress) { Assert::same(str_replace(',', '', $shippingAddress), $this->showPage->getShippingAddress(), 'Customer shipping address should be "%s", but it is not.'); }