Strings { public static boolean isEmptyOrNull(List<String> list) { return list == null || list.isEmpty(); }  static boolean isEmptyOrWhitespace(String string); static boolean isEmptyOrNull(List<String> list); static boolean isWhitelisted(String item, List<String> whitelist); static String stripLeadingSlash(String s); static String stripTrailingSlash(String s); static String stripSlash(String s);  }
@Test public void testIsEmtyOrNull() { assertTrue(Strings.isEmptyOrNull(null)); assertTrue(Strings.isEmptyOrNull(ImmutableList.<String>of())); assertFalse(Strings.isEmptyOrNull(ImmutableList.of("abc"))); }