Index: Ringtoets/Common/test/Ringtoets.Common.Forms.Test/PropertyClasses/StructuresInputBasePropertiesTest.cs =================================================================== diff -u -r3dba5efb1341e8aaba0de9848669b1c7e45cdfda -r64b9d05b572ff4878d9e74c6d1e4586e1b6d0a3d --- Ringtoets/Common/test/Ringtoets.Common.Forms.Test/PropertyClasses/StructuresInputBasePropertiesTest.cs (.../StructuresInputBasePropertiesTest.cs) (revision 3dba5efb1341e8aaba0de9848669b1c7e45cdfda) +++ Ringtoets/Common/test/Ringtoets.Common.Forms.Test/PropertyClasses/StructuresInputBasePropertiesTest.cs (.../StructuresInputBasePropertiesTest.cs) (revision 64b9d05b572ff4878d9e74c6d1e4586e1b6d0a3d) @@ -24,6 +24,7 @@ using System.ComponentModel; using System.Globalization; using System.Linq; +using Application.Ringtoets.Storage.TestUtil; using Core.Common.Base; using Core.Common.Base.Data; using Core.Common.Base.Geometry; @@ -219,7 +220,7 @@ var random = new Random(100); double newStructureNormalOrientation = random.NextDouble(); var newStructure = new SimpleStructure(); - ForeshoreProfile newForeshoreProfile = CreateForeshoreProfile(); + ForeshoreProfile newForeshoreProfile = new TestForeshoreProfile(); HydraulicBoundaryLocation newHydraulicBoundaryLocation = CreateHydraulicBoundaryLocation(); // Call @@ -574,11 +575,6 @@ return new HydraulicBoundaryLocation(0, "", 0, 0); } - private static ForeshoreProfile CreateForeshoreProfile() - { - return new ForeshoreProfile(new Point2D(0, 0), Enumerable.Empty(), null, new ForeshoreProfile.ConstructionProperties()); - } - private class SimpleStructure : StructureBase { public SimpleStructure() : base("Name", "Id", new Point2D(0, 0), 0.0) {} @@ -598,7 +594,7 @@ public override IEnumerable GetAvailableForeshoreProfiles() { - yield return CreateForeshoreProfile(); + yield return new TestForeshoreProfile(); } public override IEnumerable GetAvailableStructures()