@Test public void testSetNewName() { System.out.println("setNewName"); String newName = "newName"; Project instance = new Project(null, null, null, "test"); instance.setNewName(newName); assertEquals(instance.getName(), newName); }
@Override public void setNewName(String newName) { this.name = newName; }
Project implements NameInterface { @Override public void setNewName(String newName) { this.name = newName; } }
Project implements NameInterface { @Override public void setNewName(String newName) { this.name = newName; } Project(ElectionCheckParameter params, PLModel propList, ElectionDescription elecDescr, String name); }
Project implements NameInterface { @Override public void setNewName(String newName) { this.name = newName; } Project(ElectionCheckParameter params, PLModel propList, ElectionDescription elecDescr, String name); ElectionDescription getElecDescr(); PLModel getPropList(); ElectionCheckParameter getElectionCheckParameter(); @Override void setNewName(String newName); @Override String getName(); }
Project implements NameInterface { @Override public void setNewName(String newName) { this.name = newName; } Project(ElectionCheckParameter params, PLModel propList, ElectionDescription elecDescr, String name); ElectionDescription getElecDescr(); PLModel getPropList(); ElectionCheckParameter getElectionCheckParameter(); @Override void setNewName(String newName); @Override String getName();  }