Ejemplo n.º 1
0
 public function testEscapeHtmlMethodReturnsSpecialHtmlCharacterEscaped()
 {
     $escaper = new Escaper();
     foreach ($this->htmlSpecialChars as $original => $escaped) {
         $this->assertEquals($escaped, $escaper->escapeHtml($original));
     }
 }