### Question:
FunctionDefinitionHomogeneousSimple extends FunctionDefinitionBase<O,I> { public Integer getNumArgs() { return this.numArgs; } FunctionDefinitionHomogeneousSimple(Identifier idIn, DataType<O> dataTypeReturnIn, DataType<I> dataTypeArgsIn, Integer nArgs); Integer getNumArgs(); Status validateArguments(List<FunctionArgument> listFunctionArguments, List<I> convertedValues); Status validateArgumentListLength(List<FunctionArgument> listFunctionArguments);  }### Answer:
@Test public void testGetNumArgs() { FunctionDefinitionEquality<String> fd = new FunctionDefinitionEquality<String>(XACML3.ID_FUNCTION_STRING_EQUAL, DataTypes.DT_STRING); assertEquals(new Integer(2), fd.getNumArgs()); }