MockControl fpc = newControl(ServiceImplementationFactoryParameters.class);
ServiceImplementationFactoryParameters fp = (ServiceImplementationFactoryParameters) fpc
.getMock();
ClassFactory cf = new ClassFactoryImpl();
DefaultImplementationBuilderImpl dib = new DefaultImplementationBuilderImpl();
dib.setClassFactory(cf);
PipelineFactory factory = new PipelineFactory();
factory.setClassFactory(cf);
factory.setDefaultImplementationBuilder(dib);
factory.setErrorLog(newErrorLog());