@Test
public void testResetCallbackClient() {

	GatewayServer server = new GatewayServer(null, 0);
	server.start(true);
	try {
		Thread.sleep(250);
	} catch (Exception e) {
	}
	server.resetCallbackClient(server.getAddress(), GatewayServer.DEFAULT_PYTHON_PORT + 1);
	try {
		Thread.sleep(250);
	} catch (Exception e) {
	}
	int pythonPort = server.getPythonPort();
	InetAddress pythonAddress = server.getPythonAddress();
	assertEquals(pythonPort, GatewayServer.DEFAULT_PYTHON_PORT + 1);
	assertEquals(pythonAddress, server.getAddress());
	server.shutdown(true);
}