Strings { @Deprecated public static boolean isNullOrEmpty(String string) { return string == null || string.length() == 0; } private  Strings(); @Deprecated static String nullToEmpty(String string); @Deprecated static String emptyToNull(String string); @Deprecated static boolean isNullOrEmpty(String string); @Deprecated static String join(String delimiter, String... parts); @Deprecated static String[] split(String raw, char ch); @Deprecated static String longestCommonPrefix(String... input);  }
@Test public void testIsNullOrEmpty() { assertTrue(Strings.isNullOrEmpty(null)); assertTrue(Strings.isNullOrEmpty("")); assertFalse(Strings.isNullOrEmpty("a")); }