コード例 #1
0
 /**
  * @Then /^(this customer) with name "([^"]*)" should appear in the store$/
  */
 public function theCustomerWithNameShouldAppearInTheRegistry(CustomerInterface $customer, $name)
 {
     $this->updatePage->open(['id' => $customer->getId()]);
     Assert::eq($name, $this->updatePage->getFullName(), sprintf('Customer should have name %s, but they have %s.', $name, $this->updatePage->getFullName()));
 }