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