DerivedFieldFunctionUtils { static MethodDeclaration getAggregatedMethodDeclaration(final Aggregate aggregate, final ClassOrInterfaceType returnedType, final int methodArity, final LinkedHashMap<String, ClassOrInterfaceType> parameterNameTypeMap) { throw new KiePMMLException("Aggregate not managed, yet"); } private  DerivedFieldFunctionUtils();   }
@Test(expected = KiePMMLException.class) public void getAggregatedMethodDeclaration() { DerivedFieldFunctionUtils.getAggregatedMethodDeclaration(new Aggregate(), OBJECT_CLASS, 3, DEFAULT_PARAMETERTYPE_MAP); }