### Question:
HTMLEntityLookup { public static String getEntityRef(char charCode) { return m_codeMap.get(new Character(charCode)); }  static Character getCharacterCode(String entityName); static String getEntityRef(char charCode);  }### Answer:
@Test public void testGetEntityRef() { assertEquals("curren", HTMLEntityLookup.getEntityRef('\u00A4')); assertEquals("amp", HTMLEntityLookup.getEntityRef('\u0026')); assertEquals("nbsp", HTMLEntityLookup.getEntityRef('\u00A0')); assertEquals("apos", HTMLEntityLookup.getEntityRef('\'')); assertEquals("quot", HTMLEntityLookup.getEntityRef('\u0022')); }