Index: Ringtoets/Common/test/Ringtoets.Common.Data.Test/Structures/StructuresInputBaseTest.cs =================================================================== diff -u -r22f2f5e1f5cf9047b2ab2e5097b56a37fbc4cc5b -rfaa45d14b96d0433ec561a39635ad6285b1ad5e3 --- Ringtoets/Common/test/Ringtoets.Common.Data.Test/Structures/StructuresInputBaseTest.cs (.../StructuresInputBaseTest.cs) (revision 22f2f5e1f5cf9047b2ab2e5097b56a37fbc4cc5b) +++ Ringtoets/Common/test/Ringtoets.Common.Data.Test/Structures/StructuresInputBaseTest.cs (.../StructuresInputBaseTest.cs) (revision faa45d14b96d0433ec561a39635ad6285b1ad5e3) @@ -548,6 +548,9 @@ Orientation = orientation }); + // Precondition + Assert.IsFalse(input.IsForeshoreProfileParametersSynchronized); + // Call input.ForeshoreProfile = foreshoreProfile; @@ -559,6 +562,7 @@ Assert.AreEqual(withValidForeshore, input.UseForeshore); CollectionAssert.AreEqual(foreshoreProfile.Geometry, input.ForeshoreGeometry); Assert.AreSame(originalHydraulicBoundaryLocation, input.HydraulicBoundaryLocation); + Assert.IsTrue(input.IsForeshoreProfileParametersSynchronized); } [Test] @@ -586,6 +590,7 @@ input.ForeshoreProfile = foreshoreProfile; // Precondition + Assert.IsTrue(input.IsForeshoreProfileParametersSynchronized); Assert.AreSame(foreshoreProfile, input.ForeshoreProfile); Assert.IsTrue(input.UseBreakWater); Assert.AreNotEqual(originalBreakWaterType, input.BreakWater.Type); @@ -598,6 +603,7 @@ input.ForeshoreProfile = null; // Assert + Assert.IsFalse(input.IsForeshoreProfileParametersSynchronized); Assert.IsFalse(input.UseBreakWater); Assert.AreEqual(originalBreakWaterType, input.BreakWater.Type); Assert.AreEqual(originalBreakWaterHeight, input.BreakWater.Height);