public function countTaxons();
/** * @Then /^I should see (\d+) taxons on the list$/ */ public function iShouldSeeTaxonsInTheList($number) { $taxonsOnPage = $this->createPage->countTaxons(); Assert::eq($number, $taxonsOnPage, sprintf('On list should be %d taxons but get %d.', $number, $taxonsOnPage)); }