/** * @Then I should see that it is out of stock */ public function iShouldSeeItIsOutOfStock() { Assert::true($this->showPage->isOutOfStock(), 'Out of stock label should be visible.'); }