ConfigurationNode { public void setLabel(final String label) { this.label = label; } ConfigurationNode(final String id, final String label, final String path); String getId(); String getLabel(); void setLabel(final String label); String getPath(); void setPath(final String path); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }
@Test public void testSetLabel() throws Exception { ConfigurationNode node = new ConfigurationNode("id", "label", "path"); node.setLabel("newLabel"); assertEquals(node.getLabel(), "newLabel"); }