Index: Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Forms.Test/TreeNodeInfos/StabilityStoneCoverWaveConditionsCalculationInputContextTreeNodeInfoTest.cs =================================================================== diff -u -r0d7efa62d16c64a925c63172e4d1bf1a4e0bf94f -rbfe0c885c674d20d6ed6fbfb95e9cdc484b4788c --- Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Forms.Test/TreeNodeInfos/StabilityStoneCoverWaveConditionsCalculationInputContextTreeNodeInfoTest.cs (.../StabilityStoneCoverWaveConditionsCalculationInputContextTreeNodeInfoTest.cs) (revision 0d7efa62d16c64a925c63172e4d1bf1a4e0bf94f) +++ Ringtoets/StabilityStoneCover/test/Ringtoets.StabilityStoneCover.Forms.Test/TreeNodeInfos/StabilityStoneCoverWaveConditionsCalculationInputContextTreeNodeInfoTest.cs (.../StabilityStoneCoverWaveConditionsCalculationInputContextTreeNodeInfoTest.cs) (revision bfe0c885c674d20d6ed6fbfb95e9cdc484b4788c) @@ -28,9 +28,10 @@ using NUnit.Framework; using Rhino.Mocks; using Ringtoets.Common.Data.AssessmentSection; +using Ringtoets.Common.Data.DikeProfiles; using Ringtoets.Revetment.Data; +using Ringtoets.Revetment.Forms.PresentationObjects; using Ringtoets.StabilityStoneCover.Data; -using Ringtoets.StabilityStoneCover.Forms.PresentationObjects; using Ringtoets.StabilityStoneCover.Plugin; using RingtoetsCommonFormsResources = Ringtoets.Common.Forms.Properties.Resources; @@ -81,10 +82,9 @@ mocks.ReplayAll(); var input = new WaveConditionsInput(); - var failureMechanism = new StabilityStoneCoverFailureMechanism(); - var context = new StabilityStoneCoverWaveConditionsCalculationInputContext(input, - failureMechanism, - assessmentSection); + var context = new WaveConditionsInputContext(input, + new ForeshoreProfile[0], + assessmentSection); using (var plugin = new StabilityStoneCoverPlugin()) { @@ -106,10 +106,9 @@ mocks.ReplayAll(); var input = new WaveConditionsInput(); - var failureMechanism = new StabilityStoneCoverFailureMechanism(); - var context = new StabilityStoneCoverWaveConditionsCalculationInputContext(input, - failureMechanism, - assessmentSection); + var context = new WaveConditionsInputContext(input, + new ForeshoreProfile[0], + assessmentSection); using (var plugin = new StabilityStoneCoverPlugin()) { var info = GetInfo(plugin); @@ -130,10 +129,9 @@ var assessmentSection = mocks.Stub(); var input = new WaveConditionsInput(); - var failureMechanism = new StabilityStoneCoverFailureMechanism(); - var context = new StabilityStoneCoverWaveConditionsCalculationInputContext(input, - failureMechanism, - assessmentSection); + var context = new WaveConditionsInputContext(input, + new ForeshoreProfile[0], + assessmentSection); var menuBuilder = mocks.StrictMock(); menuBuilder.Expect(mb => mb.AddPropertiesItem()).Return(menuBuilder); @@ -160,7 +158,7 @@ private TreeNodeInfo GetInfo(StabilityStoneCoverPlugin plugin) { - return plugin.GetTreeNodeInfos().First(tni => tni.TagType == typeof(StabilityStoneCoverWaveConditionsCalculationInputContext)); + return plugin.GetTreeNodeInfos().First(tni => tni.TagType == typeof(WaveConditionsInputContext)); } } } \ No newline at end of file