}
public void testCreateExternalServiceContextFactory() {
ExternalWebServiceBuilder builder = new ExternalWebServiceBuilder();
ExternalService es = createMockExternalService();
ExternalServiceContextFactory cf = builder.createExternalServiceContextFactory(es);
assertNotNull(cf);
Axis2ServiceInvoker si = (Axis2ServiceInvoker) cf.createContext().getHandler();
assertNotNull(si);
}