/** * @Then this customer should be subscribed to the newsletter */ public function thisCustomerShouldBeSubscribedToTheNewsletter() { Assert::true($this->updatePage->isSubscribedToTheNewsletter(), 'This customer should subscribe to the newsletter.'); }