/**
* @Then I should see :numberOfProducts products in the list
*/
public function iShouldSeeProductsInTheList($numberOfProducts)
{
$foundProductsNames = $this->homePage->getLatestProductsNames();
Assert::same((int) $numberOfProducts, count($foundProductsNames), '%d rows with products should appear on page, %d rows has been found');
}