Index: Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Forms.Test/PresentationObjects/GrassCoverErosionInwardsScenariosContextTest.cs =================================================================== diff -u -r8d33f259735b765767405b7691924bc8c0182d72 -r9bd00cf5c538409ebb1c1c68f90ca0146e93d155 --- Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Forms.Test/PresentationObjects/GrassCoverErosionInwardsScenariosContextTest.cs (.../GrassCoverErosionInwardsScenariosContextTest.cs) (revision 8d33f259735b765767405b7691924bc8c0182d72) +++ Ringtoets/GrassCoverErosionInwards/test/Ringtoets.GrassCoverErosionInwards.Forms.Test/PresentationObjects/GrassCoverErosionInwardsScenariosContextTest.cs (.../GrassCoverErosionInwardsScenariosContextTest.cs) (revision 9bd00cf5c538409ebb1c1c68f90ca0146e93d155) @@ -19,8 +19,12 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. +using Core.Common.Controls.PresentationObjects; + using NUnit.Framework; +using Ringtoets.Common.Data.Calculation; +using Ringtoets.GrassCoverErosionInwards.Data; using Ringtoets.GrassCoverErosionInwards.Forms.PresentationObjects; namespace Ringtoets.GrassCoverErosionInwards.Forms.Test.PresentationObjects @@ -31,11 +35,17 @@ [Test] public void Constructor_ExpectedValues() { + // Setup + var failureMechanism = new GrassCoverErosionInwardsFailureMechanism(); + var calculationGroup = new CalculationGroup(); + // Call - var context = new GrassCoverErosionInwardsScenariosContext(); + var context = new GrassCoverErosionInwardsScenariosContext(calculationGroup, failureMechanism); // Assert - // TODO: Only need state as part of WTI-638 + Assert.IsInstanceOf>(context); + Assert.AreSame(calculationGroup, context.WrappedData); + Assert.AreSame(failureMechanism, context.ParentFailureMechanism); } } } \ No newline at end of file