{
final String overrideHost = "127.0.0.1";
final FixedHostRmiClientSocketFactory factory = new FixedHostRmiClientSocketFactory(overrideHost);
assertEquals(overrideHost, factory.getOverrideHost());
final Socket clientSocket = factory.createSocket("www.example.com", dynamicPort.getNumber());
final InetAddress address = clientSocket.getInetAddress();
final String socketHost = address.getHostAddress();
assertEquals(overrideHost, socketHost);
}