/** * @Then /^(this customer) should be disabled$/ */ public function thisCustomerShouldBeDisabled(CustomerInterface $customer) { $this->indexPage->open(); Assert::eq('Disabled', $this->indexPage->getCustomerAccountStatus($customer), 'Customer account should be disabled, but it does not.'); }