Index: Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Data.TestUtil/TestDuneLocation.cs =================================================================== diff -u -rc60e4a04488fbe3a60d9c2c67c8a687093100775 -rac90331e9c1ff9217f04027127082f75a10e8c0a --- Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Data.TestUtil/TestDuneLocation.cs (.../TestDuneLocation.cs) (revision c60e4a04488fbe3a60d9c2c67c8a687093100775) +++ Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Data.TestUtil/TestDuneLocation.cs (.../TestDuneLocation.cs) (revision ac90331e9c1ff9217f04027127082f75a10e8c0a) @@ -32,13 +32,29 @@ /// /// Creates a new instance of . /// - public TestDuneLocation() + public TestDuneLocation(): this(0, 0, 0) {} + + private TestDuneLocation(int coastalAreaId, double offset, double d50) : base(0, string.Empty, new Point2D(0.0, 0.0), new ConstructionProperties - { - Offset = 0, - Orientation = 0, - CoastalAreaId = 0, - D50 = 0 - }) {} + { + CoastalAreaId = coastalAreaId, + Offset = offset, + D50 = d50, + Orientation = 0 + }) {} + + /// + /// Creates a with desired values + /// that are relevant when exporting a . + /// + /// The coastal area id. + /// The offset. + /// The D50. + /// A with values + /// that are relevant when exporting. + public static TestDuneLocation CreateDuneLocationForExport(int coastalAreaId, double offset, double d50) + { + return new TestDuneLocation(coastalAreaId, offset, d50); + } } } \ No newline at end of file