### Question:
Node { public String getIPAddress() { return ipAddr; } Node(int nodeID, String ip, String label); String getLabel(); String getIPAddress(); void setLabel(String label); void setIPAddress(String ip); void setNodeID(int nodeID); int getNodeID();  }### Answer:
@Test public void testGetIPAddress() { assertEquals("", node1.getIPAddress()); assertEquals("127.0.0.1", node2.getIPAddress()); }