### Question:
Function { public Function (String name, int nrOfParameters) { mName = name; mNrOfParams = nrOfParameters; } Function(String name, int nrOfParameters); static void setRunTime(RunTime runTime); final String getName(); final int getNrOfParameters(); final String checkNrOfArgsAndExecute(String[] args); abstract String execute(String[] args);  }### Answer:
@Test public void testFunction () { Function function = new MyFunction (); assertEquals (MyFunction.NAME, function.getName ()); assertEquals (MyFunction.NR_OF_PARAMS, function.getNrOfParameters ()); }