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