public void testCreateCxfRsClientFactoryBean() {
CxfRsEndpoint endpoint = resolveMandatoryEndpoint("cxfrs://bean://rsClient", CxfRsEndpoint.class);
SpringJAXRSClientFactoryBean cfb = (SpringJAXRSClientFactoryBean)endpoint.createJAXRSClientFactoryBean();
assertEquals("Get a wrong beanId", cfb.getBeanId(), "rsClient");
assertEquals("Get a wrong address", cfb.getAddress(), "http://localhost:9002/helloworld");
assertTrue("Get a wrong resource class instance", cfb.create() instanceof CustomerService);
assertEquals("Got the wrong loggingFeatureEnabled", false, cfb.isLoggingFeatureEnabled());
assertEquals("Got the wrong loggingSizeLimit", 0, cfb.getLoggingSizeLimit());
assertEquals("Got a wrong size of interceptors", 1, cfb.getInInterceptors().size());
}