Binding binding = control.createMock(Binding.class);
expect(bf.createBinding(null)).andStubReturn(binding);
expect(binding.getInFaultInterceptors()).andStubReturn(new ArrayList<Interceptor>());
expect(binding.getOutFaultInterceptors()).andStubReturn(new ArrayList<Interceptor>());
bfm.registerBindingFactory("http://schemas.xmlsoap.org/wsdl/soap/", bf);
String ns = "http://apache.org/hello_world_soap_http";
WSDLServiceFactory factory = new WSDLServiceFactory(bus, getClass()
.getResource("/org/apache/cxf/jaxb/resources/wsdl/hello_world.wsdl"),
new QName(ns, "SOAPService"));