Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Plugin.Test/HeightStructuresPluginTest.cs =================================================================== diff -u -rbcb6b2364bcd2796869223db9942d3338b0f577a -r6e56258ed65fb071d7dac5a9df4e71196542a392 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Plugin.Test/HeightStructuresPluginTest.cs (.../HeightStructuresPluginTest.cs) (revision bcb6b2364bcd2796869223db9942d3338b0f577a) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Plugin.Test/HeightStructuresPluginTest.cs (.../HeightStructuresPluginTest.cs) (revision 6e56258ed65fb071d7dac5a9df4e71196542a392) @@ -28,7 +28,6 @@ using Core.Common.Gui.TestUtil; using NUnit.Framework; using Rhino.Mocks; -using Ringtoets.Common.Data.AssessmentSection; using Ringtoets.Common.Data.Calculation; using Ringtoets.Common.Forms.PresentationObjects; using Ringtoets.HeightStructures.Data; @@ -56,10 +55,6 @@ public void GetPropertyInfos_ReturnsSupportedPropertyClassesWithExpectedValues() { // Setup - var mocks = new MockRepository(); - var assessmentSection = mocks.Stub(); - mocks.ReplayAll(); - using (var plugin = new HeightStructuresPlugin()) { // Call @@ -68,24 +63,21 @@ // Assert Assert.AreEqual(3, propertyInfos.Length); - var failureMechanism = new HeightStructuresFailureMechanism(); - var failureMechanismContext = new HeightStructuresFailureMechanismContext(failureMechanism, assessmentSection); - PropertyInfo heightStructuresFailureMechanismContextPropertyInfo = PluginTestHelper.AssertPropertyInfoDefined( + PluginTestHelper.AssertPropertyInfoDefined( propertyInfos, typeof(HeightStructuresFailureMechanismContext), typeof(HeightStructuresFailureMechanismProperties)); - PropertyInfo heightStructurePropertyInfo = PluginTestHelper.AssertPropertyInfoDefined( + PluginTestHelper.AssertPropertyInfoDefined( propertyInfos, typeof(HeightStructure), typeof(HeightStructureProperties)); - PropertyInfo heightStructuresInputContextPropertyInfo = PluginTestHelper.AssertPropertyInfoDefined( + PluginTestHelper.AssertPropertyInfoDefined( propertyInfos, typeof(HeightStructuresInputContext), typeof(HeightStructuresInputContextProperties)); } - mocks.VerifyAll(); } [Test]