@Test
public void checkListContentsIllegalTypeTest() throws Exception {

    // Do
    assertThatThrownBy(() -> ReplyByReturnValueConsumer.checkListContents(singletonList(new Object())))
            .isInstanceOf(IllegalArgumentException.class);
}