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