### Question:
PardClient { public static void main(String[] args) { if (args.length != 2) { System.out.println("PardClient <host> <port>"); System.exit(-1); } String host = args[0]; int port = Integer.parseInt(args[1]); System.out.println("Connecting to " + host + ":" + port); try { PardClient client = new PardClient(host, port); client.run(); } catch (IOException e) { e.printStackTrace(); } } PardClient(String host, int port); void run(); static void main(String[] args);  }### Answer:
@Test public void testClient() { String host = "10.77.40.31"; int port = 11013; String[] args = {host, port + ""}; PardClient.main(args); }