@Test
public void testHTMLEncode_complete() throws Exception {

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