### Question:
CxfJaxwsServerModule extends ConfigModule { public static CxfJaxwsServerModuleExtender extend(Binder binder) { return new CxfJaxwsServerModuleExtender(binder); } CxfJaxwsServerModule(); static CxfJaxwsServerModuleExtender extend(Binder binder); @Override void configure(Binder binder); @Provides @Singleton MappedServlet<AbstractHTTPServlet> provideServlet(Set<Endpoint> endpoints, Bus bus, ConfigurationFactory configFactory); @Provides @Singleton EndpointConfigurer provideEndpointConfigurer(
            @CxfInterceptorsServerIn        Set<Interceptor<? extends Message>> inInterceptors,
            @CxfInterceptorsServerOut       Set<Interceptor<? extends Message>> outInterceptors,
            @CxfInterceptorsServerInFault   Set<Interceptor<? extends Message>> inFaultInterceptors,
            @CxfInterceptorsServerOutFault  Set<Interceptor<? extends Message>> outFaultInterceptors,
            Injector injector
    ); static final String CONF_PREFIX; }### Answer:
@Test public void testProvideEndpointsFromDifferentModules() { BQRuntime runtime = testFactory.app() .module(binder -> CxfJaxwsServerModule.extend(binder) .addEndpoint(EndpointFactoryProvider1.class) .addEndpoint(EndpointFactoryProvider2.class) .addEndpoint(() -> Endpoint.publish("/provider1", new HelloWorldImpl())) .addEndpoint(() -> Endpoint.publish("/provider2", new HelloWorldImpl())) ) .createRuntime(); List<String> publishedEndpoints = getEndpoints(runtime).stream() .map(endpoint -> (EndpointImpl) endpoint) .map(EndpointImpl::getAddress) .collect(Collectors.toList()); Assert.assertTrue(publishedEndpoints.containsAll(asList("/factory1", "/factory2", "/provider1", "/provider2"))); }