countTaxonsByName() public méthode

public countTaxonsByName ( string $name ) : integer
$name string
Résultat integer
 /**
  * @Then I should see the taxon named :name in the list
  */
 public function iShouldSeeTheTaxonNamedInTheList($name)
 {
     Assert::eq(1, $this->createPage->countTaxonsByName($name), sprintf('Taxon %s does not exist or multiple taxons with this name exist.', $name));
 }