MockControl fpc = newControl(ServiceImplementationFactoryParameters.class);
ServiceImplementationFactoryParameters fp = (ServiceImplementationFactoryParameters) fpc
.getMock();
SpringBeanParameter param = buildParameter("fred", beanFactory);
Object fred = new Object();
beanFactory.getBean("fred", List.class);
control.setReturnValue(fred);