getAppUrls()); $sortie = $niveau->afficherNiveau(); $this->assertNotEmpty($sortie, $sortie); $this->assertNotContains(' ', $sortie); $this->assertContains('', $sortie, print_r($sortie,true)); $this->assertContains('', $sortie); $this->assertContains('', $sortie); $this->assertContains('', $sortie); } protected function getAppUrls() { $AppUrls = $this->getMock('AppUrls', array('obtenirUrlBase'), array(), '', false); $AppUrls->expects($this->any()) ->method('obtenirUrlBase') ->will($this->returnValue(ConsultationEflorePhpUnit::TPL_URL_BASE)); return $AppUrls; } } ?>