@Test
public void checkListContentsNullTest() throws Exception {

    // Do
    assertThatThrownBy(() -> ReplyByReturnValueConsumer.checkListContents(singletonList(null)))
            .isInstanceOf(NullPointerException.class);
}