Tests for BoatInRace, imported Mockito

#test #story[24]
This commit is contained in:
Erika Savell
2017-03-22 13:35:47 +13:00
parent 288324ace6
commit df8b711cf5
3 changed files with 126 additions and 1 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ public class Boat {
* @return The Name of the boat.
*/
public String toString(){
return getName().getValue();
return getName().toString();
}
public StringProperty getVelocityProp() {