void (List<Integer> collection, Condition<? super Integer> condition, Integer... expected) { List<Integer> actual = ContainerUtil.filter(collection, condition); assertEquals(Arrays.asList(expected), actual); }