decoupledURL = new URL(NOWHERE + "response");
DestinationFactoryManager mgr =
control.createMock(DestinationFactoryManager.class);
DestinationFactory factory =
control.createMock(DestinationFactory.class);
Destination destination =
control.createMock(Destination.class);
bus.setExtension(mgr, DestinationFactoryManager.class);
mgr.getDestinationFactoryForUri(decoupledURL.toString());
EasyMock.expectLastCall().andReturn(factory);
factory.getDestination(EasyMock.isA(EndpointInfo.class));
EasyMock.expectLastCall().andReturn(destination);
destination.setMessageObserver(EasyMock.isA(HTTPConduit.InterposedMessageObserver.class));
}
control.replay();
HTTPConduit conduit = new HTTPTestConduit(bus,