public function iShouldSeePaymentMethodsInTheList($amount) { $foundRows = $this->indexPage->countItems(); Assert::same((int) $amount, $foundRows, '%2$s rows with payment methods should appear on page, %s rows has been found'); }