@Test
public void testHTMLEncode_partial() throws Exception {

    String test = "Dé&amps, C &";
    String result = TextUtilities.HTMLEncode(test);
    assertThat("Dé&amp;amps, C &amp;", is(result));
}