Tests for BoatInRace, imported Mockito
#test #story[24]
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user