public function testHtmlEscapingConvertsSpecialChars() { foreach ($this->htmlSpecialChars as $key => $value) { $this ->assertEquals($value, twig_escape_filter($this->env, $key, 'html'), 'Failed to escape: ' . $key); } }