@Test
/**
 * tests {@link ScriptUtils#escapeHtml(java.util.List)}

 */
public void testEscapeHtmlStringList() {
    String[] escaped = {"wasn&apos;t", "\\u0022wasn&apos;t\\u0022"};
    String[] unEscaped = {"wasn't", "\"wasn't\""};
    assertEquals(Arrays.asList(escaped), ScriptUtils.escapeHtml(Arrays.asList(unEscaped)));
    List<String> nullList = null;
    assertNull(ScriptUtils.escapeHtml(nullList));
    List<String> emptyList = Collections.emptyList();
    assertEquals(emptyList, ScriptUtils.escapeHtml(emptyList));
}