@Test public void testSetLabel() { node1.setLabel("Philip"); assertEquals("Philip", node1.getLabel()); }
public void setLabel(String label) { this.label = label; }
Node { public void setLabel(String label) { this.label = label; } }
Node { public void setLabel(String label) { this.label = label; } Node(int nodeID, String ip, String label); }
Node { public void setLabel(String label) { this.label = label; } 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 setLabel(String label) { this.label = label; } 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();  }