### Question:
XID { public static void setPort(int port) { XID.port = port; }  static void setPort(int port); static void setIpAddress(String ipAddress); static String generateXID(long tranId); static long getTransactionId(String xid); static int getPort(); static String getIpAddress();  }### Answer:
@Test public void testSetPort() { XID.setPort(8080); assertThat(XID.getPort()).isEqualTo(8080); }