// Lookup
Object obj1 = context.lookup(ClientBindUrlBindingTest.JNDI_BINDING_1);
// Get the underlying URL
SessionRemoteProxyInvocationHandler handler1 = (SessionRemoteProxyInvocationHandler) Proxy
.getInvocationHandler(obj1);
String url1 = handler1.getUrl();
// Test
TestCase.assertEquals(ClientBindUrlBindingTest.CLIENT_BIND_URL_1, url1);
/*
* Test Location 2
*/
// Lookup
Object obj2 = context.lookup(ClientBindUrlBindingTest.JNDI_BINDING_2);
// Get the underlying URL
SessionRemoteProxyInvocationHandler handler2 = (SessionRemoteProxyInvocationHandler) Proxy
.getInvocationHandler(obj2);
String url2 = handler2.getUrl();
// Test
TestCase.assertEquals(ClientBindUrlBindingTest.CLIENT_BIND_URL_2, url2);
/*