### Question:
PropertyUtils { public static long getLong(String key, long defaultVal) { String val = getString(key); return val == null ? defaultVal : Long.parseLong(val); } private  PropertyUtils(); static String getString(String key, String defaultVal); static String getString(String key); static int getInt(String key); static int getInt(String key, int defaultValue); static boolean getBoolean(String key); static Boolean getBoolean(String key, boolean defaultValue); static long getLong(String key, long defaultVal); static long getLong(String key); static double getDouble(String key, double defaultVal); T getEnum(String key, Class<T> type,
                                         T defaultValue);  }### Answer:
@Test public void testGetLong() { long result = PropertyUtils.getLong("test.long"); assertSame(100L, result); }