@Test(expected = IllegalArgumentException.class)
public void testSetOffsetsWithInvalidParam() throws Exception {

    Map<TopicAndPartition, Long> tap = new HashMap<>();
    validKOM.setOffsets(tap);
}