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