Index: Ringtoets/HydraRing/test/Ringtoets.HydraRing.Data.Test/HydraulicBoundaryLocationTest.cs =================================================================== diff -u -r06f9145d8180df7fd26eac086a3f431c181e4d64 -r428346aca4810ed68d8778943246f581cb1a4386 --- Ringtoets/HydraRing/test/Ringtoets.HydraRing.Data.Test/HydraulicBoundaryLocationTest.cs (.../HydraulicBoundaryLocationTest.cs) (revision 06f9145d8180df7fd26eac086a3f431c181e4d64) +++ Ringtoets/HydraRing/test/Ringtoets.HydraRing.Data.Test/HydraulicBoundaryLocationTest.cs (.../HydraulicBoundaryLocationTest.cs) (revision 428346aca4810ed68d8778943246f581cb1a4386) @@ -117,5 +117,19 @@ Assert.AreEqual(expectedLocationsDescription, locationsProperty.Description); Assert.AreEqual(expectedLocationsCategory, filePathProperty.Category); } + + [Test] + public void ToString_Always_ReturnsName() + { + // Setup + var testName = "testName"; + var hydraulicBoundaryLocationProperties = new HydraulicBoundaryLocation(0, testName, 0, 0); + + // Call + var result = hydraulicBoundaryLocationProperties.ToString(); + + // Assert + Assert.AreEqual(testName, result); + } } } \ No newline at end of file