@Test
 public void testParseHexOrDefaultOk() throws Exception {
   long i = 0x12;
   String s = "0x" + Long.toHexString(i);
   int def = 14;
   assertEquals(i, ParseLong.parseHexOrDefault(s, def));
 }
 @Test
 public void testParseHexOrDefaultNull() throws Exception {
   int def = 14;
   assertEquals(def, ParseLong.parseHexOrDefault(null, def));
 }
 @Test
 public void testParseHexOrDefaultFail() throws Exception {
   String s = "aq12.g";
   int def = 14;
   assertEquals(def, ParseLong.parseHexOrDefault(s, def));
 }