getRechercheEtendue('abricotier'); $this->assertNotEmpty($resultats); $this->assertEquals('3', $resultats['entete']['total']); } public function testRechercheEtendueDetermination() { Registre::set('parametres.referentiel', 'nvjfl'); Config::charger(CONFIG_DIR . '/config.ini'); $noms = new NomsVernaculaires(); $resultats = $noms->getRechercheEtendue('abricotier', 'determination'); $this->assertNotEmpty($resultats); $this->assertEquals('3', $resultats['entete']['total']); } public function testRechercheFloue() { Registre::set('parametres.referentiel', 'nvjfl'); Config::charger(CONFIG_DIR . '/config.ini'); $noms = new NomsVernaculaires(); $resultats = $noms->getRechercheFloue('abricotier'); $this->assertNotEmpty($resultats); $this->assertEquals('1', $resultats['entete']['total']); } } ?>