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

    ClassGenerator classGenerator = new ClassGenerator(null);
    classGenerator.generate(null);
    fail();
}