@Test
public void sanitiseSet() {

    Set<String> input = new HashSet<>();
    input.add("foo");
    assertFalse(CollectionUtils.containsNullElements(input));
    input.add(null);
    assertTrue(CollectionUtils.containsNullElements(input));
}