/**
* @Then it should be shipped to :customerName, :street, :postcode, :city, :countryName
* @Then this order should be shipped to :customerName, :street, :postcode, :city, :countryName
* @Then /^(this order) should still be shipped to "([^"]+)", "([^"]+)", "([^"]+)", "([^"]+)", "([^"]+)"$/
*/
public function itShouldBeShippedTo(OrderInterface $order = null, $customerName, $street, $postcode, $city, $countryName)
{
if (null !== $order) {
$this->iSeeTheOrder($order);
}
Assert::true($this->showPage->hasShippingAddress($customerName, $street, $postcode, $city, $countryName), sprintf('Cannot find shipping address "%s, %s %s, %s".', $street, $postcode, $city, $countryName));
}