/** * @Then /^(this customer) should have an empty last name$/ * @Then the customer :customer should still have an empty last name */ public function theCustomerShouldStillHaveAnEmptyLastName(CustomerInterface $customer) { $this->updatePage->open(['id' => $customer->getId()]); Assert::eq('', $this->updatePage->getLastName(), 'Customer should have an empty last name, but it does not.'); }