### Question:
NumberUtils { public static Long tryParseLong(String number) { return tryParseLong(number, 0L); } private  NumberUtils(); static Long tryParseLong(String number); static Long tryParseLong(String number, Long fallback); static Integer tryParseInt(String number); static Integer tryParseInt(String number, Integer fallback); static Float tryParseFloat(String number); static Float tryParseFloat(String number, Float fallback); static Double tryParseDouble(String number); static Double tryParseDouble(String number, Double fallback); static boolean isNumber(String number); static final String TAG; }### Answer:
@Test public void testTryParseLong() { Assert.assertEquals(Long.valueOf(0), NumberUtils.tryParseLong("0")); Assert.assertEquals(Long.valueOf(123), NumberUtils.tryParseLong("123")); Assert.assertEquals(Long.valueOf(-123), NumberUtils.tryParseLong("-123")); Assert.assertEquals(Long.valueOf(Long.MAX_VALUE), NumberUtils.tryParseLong(String.valueOf(Long.MAX_VALUE))); Assert.assertEquals(Long.valueOf(Long.MIN_VALUE), NumberUtils.tryParseLong(String.valueOf(Long.MIN_VALUE))); Assert.assertEquals(Long.valueOf(0L), NumberUtils.tryParseLong(null)); Assert.assertEquals(Long.valueOf(0L), NumberUtils.tryParseLong(String.valueOf("9223372036854775808"))); Assert.assertEquals(Long.valueOf(0L), NumberUtils.tryParseLong(String.valueOf("-9223372036854775809"))); Assert.assertEquals(Long.valueOf(0L), NumberUtils.tryParseLong(String.valueOf("-"))); Assert.assertEquals(Long.valueOf(0L), NumberUtils.tryParseLong(String.valueOf("a"))); }