@Test(expected = IllegalStateException.class)
public void testValidateSimpleFunctionGenericTypes_InvalidTypeArgs1() {

    Class<?>[] typeArgs = new Class<?>[] {TypeResolver.Unknown.class, Integer.class};
    validateSimpleFunctionGenericTypes(typeArgs, SimpleFunction.class);
}