    @Test
    public void should_fail_parsing_function_with_primitive_return_type() throws Exception {

        setExec(aptUtils -> {
            final String className = TestFunctionRegistryWithPrimitiveReturnType.class.getCanonicalName();
            final TypeElement typeElement = aptUtils.elementUtils.getTypeElement(className);
            FunctionParser.parseFunctionRegistryAndValidateTypes(aptUtils, typeElement, context);
        });
        failTestWithMessage("Due to internal JDK API limitations, UDF/UDA return types cannot be primitive. Use their Object counterpart instead");
    }