public function testUnsupportedCharset() { $this->expectException(\ErrorException::class); $render = new Html($this->view); $render->setCharset('1-9588-osi'); $render->entities('éè'); }