@Test public void testGetName() { System.out.println("getName"); Project instance = new Project(null, null, null, "test"); String expResult = "test"; String result = instance.getName(); assertEquals(expResult, result); }
@Override public String getName(){ return name; }
Project implements NameInterface { @Override public String getName(){ return name; } }
Project implements NameInterface { @Override public String getName(){ return name; } Project(ElectionCheckParameter params, PLModel propList, ElectionDescription elecDescr, String name); }
Project implements NameInterface { @Override public String getName(){ return name; } 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 String getName(){ return name; } Project(ElectionCheckParameter params, PLModel propList, ElectionDescription elecDescr, String name); ElectionDescription getElecDescr(); PLModel getPropList(); ElectionCheckParameter getElectionCheckParameter(); @Override void setNewName(String newName); @Override String getName();  }