public function iShouldBeNotifiedThatThisProductDoesNotHaveSufficientStock(ProductInterface $product) { Assert::true($this->summaryPage->hasProductOutOfStockValidationMessage($product), sprintf('I should see validation message for %s product', $product->getName())); }