final String prefix = "org.exolab.jms.net.tcps.";
final String uri = "tcps://exolab.org:4040/";
final String alternativeHost = "localhost";
final boolean bindAll = false;
Properties properties = new Properties(prefix);
SocketRequestInfo info1 = populate(uri, alternativeHost, bindAll);
info1.export(properties);
SocketRequestInfo info2 = new SocketRequestInfo(
new URI(properties.get(ORB.PROVIDER_URI)),
properties);
assertEquals(info1, info2);
assertEquals(uri, info2.getURI().toString());
assertEquals(alternativeHost, info2.getAlternativeHost());