/**
  * @Then /^(this customer) should have "([^"]+)" as their group$/
  */
 public function thisCustomerShouldHaveAsTheirGroup(CustomerInterface $customer, $groupName)
 {
     $this->updatePage->open(['id' => $customer->getId()]);
     Assert::same($groupName, $this->updatePage->getGroupName(), sprintf('Customer should have %s as group, but it does not', $groupName));
 }
 /**
  * @When I change the password of user :customer to :newPassword
  */
 public function iChangeThePasswordOfUserTo(CustomerInterface $customer, $newPassword)
 {
     $this->updatePage->open(['id' => $customer->getId()]);
     $this->updatePage->changePassword($newPassword);
     $this->updatePage->saveChanges();
 }
 /**
  * @Given I want to enable :customer
  * @Given I want to disable :customer
  */
 public function iWantToChangeStatusOf(CustomerInterface $customer)
 {
     $this->updatePage->open(['id' => $customer->getId()]);
 }