'acer', 'recherche' => 'stricte', 'ns.format' => 'htm'); $url = $this->creerUrl($ressources, $parametres); $eflore = $this->getMock('Eflore'); $formaterUrl = self::getMethodeProtegee($eflore, 'formaterUrl'); $tpl = ConsultationEflorePhpUnit::URL_API . '/{projet}/noms?masque={valeur}&recherche={type}&ns.format=htm'; $param = array('projet' => 'bdtfx' ,'valeur' => 'acer', 'type' => 'stricte'); $urlf = $formaterUrl->invoke($eflore, $tpl, $param); $this->assertEquals($url, $urlf); } } ?>