@Test public void isNullOrEmptyReturnsTrueIfListIsEmpty() throws Exception { List<Integer> data = emptyList(); boolean isValid = ListExtras.isNullOrEmpty(data); assertThat(isValid, is(true)); }
public static boolean isNullOrEmpty(List<?> underTest) { return underTest == null || underTest.isEmpty(); }
ListExtras { public static boolean isNullOrEmpty(List<?> underTest) { return underTest == null || underTest.isEmpty(); } }
ListExtras { public static boolean isNullOrEmpty(List<?> underTest) { return underTest == null || underTest.isEmpty(); } private  ListExtras(); }
ListExtras { public static boolean isNullOrEmpty(List<?> underTest) { return underTest == null || underTest.isEmpty(); } private  ListExtras(); static boolean isNullOrEmpty(List<?> underTest); static boolean noneNull(Collection<?> underTest); static List<T> times(Supplier<T> supplier, int n); }
ListExtras { public static boolean isNullOrEmpty(List<?> underTest) { return underTest == null || underTest.isEmpty(); } private  ListExtras(); static boolean isNullOrEmpty(List<?> underTest); static boolean noneNull(Collection<?> underTest); static List<T> times(Supplier<T> supplier, int n);  }