Index: Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Forms.Test/PropertyClasses/DuneLocationPropertiesTest.cs =================================================================== diff -u -ra65b035e6c859fc9a6c8e92becb7f9643d18d243 -ree1f859cae82b4321da205d5e1fd339b021f2d7d --- Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Forms.Test/PropertyClasses/DuneLocationPropertiesTest.cs (.../DuneLocationPropertiesTest.cs) (revision a65b035e6c859fc9a6c8e92becb7f9643d18d243) +++ Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Forms.Test/PropertyClasses/DuneLocationPropertiesTest.cs (.../DuneLocationPropertiesTest.cs) (revision ee1f859cae82b4321da205d5e1fd339b021f2d7d) @@ -322,5 +322,20 @@ // Assert Assert.AreEqual(expectedPropertyValue, properties.Offset); } + + [Test] + public void ToString_Always_ExpectedValue() + { + // Setup + var duneLocation = new DuneLocation(1, "Name", new Point2D(0.0, 1.1), new DuneLocation.ConstructionProperties()); + var duneLocationCalculation = new DuneLocationCalculation(); + var properties = new DuneLocationProperties(duneLocation, duneLocationCalculation); + + // Call + string result = properties.ToString(); + + // Assert + Assert.AreEqual($"{duneLocation.Name} {duneLocation.Location}", result); + } } } \ No newline at end of file