/** * @Then this product review rating should be :rating */ public function thisProductReviewRatingShouldBe($rating) { Assert::same($rating, $this->updatePage->getRating(), 'Product review should have rating %s, but it has %s'); }