DefineFunctionUtils { static MethodDeclaration getLagMethodDeclaration(final String methodName, final Lag lag, final ClassOrInterfaceType returnedType, final LinkedHashMap<String, ClassOrInterfaceType> parameterNameTypeMap) { throw new KiePMMLException("Lag not managed, yet"); } private  DefineFunctionUtils();   }
@Test(expected = KiePMMLException.class) public void getLagMethodDeclaration() { DefineFunctionUtils.getLagMethodDeclaration("", new Lag(), OBJECT_CLASS, DEFAULT_PARAMETERTYPE_MAP); }