Defined the FunctionFactory interface and created a simple FunctionFactoryImpl implementation. testSimple() in FunctionTest passes.