@Test public void testSetNodeID() { node1.setNodeID(99); assertEquals(99, node1.getNodeID()); }
public void setNodeID(int nodeID) { this.nodeID = nodeID; }
Node { public void setNodeID(int nodeID) { this.nodeID = nodeID; } }
Node { public void setNodeID(int nodeID) { this.nodeID = nodeID; } Node(int nodeID, String ip, String label); }
Node { public void setNodeID(int nodeID) { this.nodeID = nodeID; } 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(); }
Node { public void setNodeID(int nodeID) { this.nodeID = nodeID; } 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();  }