/**
* @Then I should see :rating as its average rating
*/
public function iShouldSeeAsItsAverageRating($rating)
{
$averageRating = $this->showPage->getAverageRating();
Assert::same((double) $rating, $averageRating, 'Product should have average rating %2$s but has %s.');
}