@Test
public void testCreateWhenNull() {

    final List<Integer> list = new ArrayList<Integer>();
    final List<Integer> nullList = null;
    assertThat(Lists.createWhenNull(list), is(notNullValue()));
    assertThat(Lists.createWhenNull(list), is(list));
    assertThat(Lists.createWhenNull(nullList), is(notNullValue()));
}