@Test(expected = InvalidArgumentException.class)
public void checkInvalidArgumentExceptionOnNullParameter()
        throws Exception {

    IReceiverGenerator rg = new ReceiverGenerator(null);
    rg.generate(null, null, null);
    fail();
}