replayAll();
EndpointInfo ei = new EndpointInfo();
Service service = new org.apache.cxf.service.ServiceImpl();
Endpoint endpoint = new EndpointImpl(busMock, service, ei);
ClientConfiguration client = new ClientConfiguration();
LocatorTargetSelector selector = new LocatorTargetSelector();
selector.setEndpoint(endpoint);
client.setConduitSelector(selector);
LocatorFeature lf = new LocatorFeature();
lf.setSelectionStrategy("randomSelectionStrategy");
lf.initialize((ConduitSelectorHolder) client, busMock);
Assert.assertTrue(((LocatorTargetSelector) client.getConduitSelector())
.getStrategy() instanceof RandomSelectionStrategy);
}