Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/PresentationObjects/GrassCoverErosionOutwardsDesignWaterLevelCalculationsGroupContextTest.cs =================================================================== diff -u -ra6b891e507d9ffaeb11f85651cb02ae394f37065 -r674f11dfe18c7b7353adea889fdff691353ad272 --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/PresentationObjects/GrassCoverErosionOutwardsDesignWaterLevelCalculationsGroupContextTest.cs (.../GrassCoverErosionOutwardsDesignWaterLevelCalculationsGroupContextTest.cs) (revision a6b891e507d9ffaeb11f85651cb02ae394f37065) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/PresentationObjects/GrassCoverErosionOutwardsDesignWaterLevelCalculationsGroupContextTest.cs (.../GrassCoverErosionOutwardsDesignWaterLevelCalculationsGroupContextTest.cs) (revision 674f11dfe18c7b7353adea889fdff691353ad272) @@ -21,11 +21,11 @@ using System; using Core.Common.Base; -using Core.Common.Controls.PresentationObjects; using NUnit.Framework; using Rhino.Mocks; using Ringtoets.Common.Data.AssessmentSection; using Ringtoets.Common.Data.Hydraulics; +using Ringtoets.Common.Forms.PresentationObjects; using Ringtoets.GrassCoverErosionOutwards.Data; using Ringtoets.GrassCoverErosionOutwards.Forms.PresentationObjects; @@ -49,7 +49,7 @@ var context = new GrassCoverErosionOutwardsDesignWaterLevelCalculationsGroupContext(locations, failureMechanism, assessmentSection); // Assert - Assert.IsInstanceOf>>(context); + Assert.IsInstanceOf(context); Assert.AreSame(locations, context.WrappedData); Assert.AreSame(failureMechanism, context.FailureMechanism); Assert.AreSame(assessmentSection, context.AssessmentSection); @@ -74,19 +74,5 @@ Assert.AreEqual("failureMechanism", exception.ParamName); mocks.VerifyAll(); } - - [Test] - public void Constructor_AssessmentSectionNull_ThrowsArgumentNullException() - { - // Call - TestDelegate call = () => new GrassCoverErosionOutwardsDesignWaterLevelCalculationsGroupContext( - new ObservableList(), - new GrassCoverErosionOutwardsFailureMechanism(), - null); - - // Assert - var exception = Assert.Throws(call); - Assert.AreEqual("assessmentSection", exception.ParamName); - } } } \ No newline at end of file