module.getModuleId();
moduleControl.setReturnValue("foo.bar");
module.getClassResolver();
moduleControl.setReturnValue(new DefaultClassResolver());
PipelineFactory factory = new PipelineFactory();
factory.setClassFactory(cf);
factory.setDefaultImplementationBuilder(dib);
factory.setErrorHandler(getErrorHandler());