// Test connections.
assertEquals("abc", client.invoke("abc"));
log.info("connection is good");
// Verify client invoker is using configured SocketFactory.
AbstractInvoker invoker = (AbstractInvoker) client.getInvoker();
SocketFactory socketFactory = invoker.getSocketFactory();
log.info("SocketFactory: " + socketFactory);
assertTrue(getSocketFactoryClass().isInstance(socketFactory));
client.disconnect();
shutdownServer();