Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/PresentationObjects/GrassCoverErosionOutwardsWaveHeightCalculationsGroupContextTest.cs =================================================================== diff -u -r64f4e09afafa0f3cf367f00be5cae318ff973be6 -r674f11dfe18c7b7353adea889fdff691353ad272 --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/PresentationObjects/GrassCoverErosionOutwardsWaveHeightCalculationsGroupContextTest.cs (.../GrassCoverErosionOutwardsWaveHeightCalculationsGroupContextTest.cs) (revision 64f4e09afafa0f3cf367f00be5cae318ff973be6) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Forms.Test/PresentationObjects/GrassCoverErosionOutwardsWaveHeightCalculationsGroupContextTest.cs (.../GrassCoverErosionOutwardsWaveHeightCalculationsGroupContextTest.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 GrassCoverErosionOutwardsWaveHeightCalculationsGroupContext(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 GrassCoverErosionOutwardsWaveHeightCalculationsGroupContext( - new ObservableList(), - new GrassCoverErosionOutwardsFailureMechanism(), - null); - - // Assert - var exception = Assert.Throws(call); - Assert.AreEqual("assessmentSection", exception.ParamName); - } } } \ No newline at end of file