@Test
void verifyEntitiesAreNotBroken()
{

    Document document = this.cleaner.clean(new StringReader("<p>&Eacute;</p>"));
    String content = document.getElementsByTagName("p").item(0).getTextContent();
    assertEquals("É", content);
    assertHTML("<p>É</p>", "&Eacute;");
    document = this.cleaner.clean(new StringReader("<p>&frac14;</p>"));
    content = document.getElementsByTagName("p").item(0).getTextContent();
    assertEquals("¼", content);
    assertHTML("<p>¼</p>", "&frac14;");
    document = this.cleaner.clean(new StringReader("<p>&f!rac14;</p>"));
    content = document.getElementsByTagName("p").item(0).getTextContent();
    assertEquals("&f!rac14;", content);
    assertHTML("<p>&amp;f!rac14;</p>", "&f!rac14;");
    document = this.cleaner.clean(new StringReader("<p>&frac12;</p>"));
    content = document.getElementsByTagName("p").item(0).getTextContent();
    assertEquals("½", content);
    assertHTML("<p>½</p>", "&frac12;");
}