Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/MacroStabilityOutwardsFailureMechanismContextTreeNodeInfoTest.cs =================================================================== diff -u -r2c6d254976145b223c6055b0b8c0c8303f8038a1 -rc75b6a10192a82221b099fa56444031ea9a96636 --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/MacroStabilityOutwardsFailureMechanismContextTreeNodeInfoTest.cs (.../MacroStabilityOutwardsFailureMechanismContextTreeNodeInfoTest.cs) (revision 2c6d254976145b223c6055b0b8c0c8303f8038a1) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/TreeNodeInfos/MacroStabilityOutwardsFailureMechanismContextTreeNodeInfoTest.cs (.../MacroStabilityOutwardsFailureMechanismContextTreeNodeInfoTest.cs) (revision c75b6a10192a82221b099fa56444031ea9a96636) @@ -19,12 +19,10 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. -using System.Collections.Generic; using System.Drawing; using System.Linq; using System.Windows.Forms; using Core.Common.Base; -using Core.Common.Base.Geometry; using Core.Common.Controls.TreeView; using Core.Common.Gui; using Core.Common.Gui.Commands; @@ -33,7 +31,6 @@ using Core.Common.TestUtil; using NUnit.Framework; using Rhino.Mocks; -using Ringtoets.AssemblyTool.Data; using Ringtoets.AssemblyTool.KernelWrapper.Calculators; using Ringtoets.AssemblyTool.KernelWrapper.TestUtil.Calculators; using Ringtoets.AssemblyTool.KernelWrapper.TestUtil.Calculators.Categories; @@ -430,10 +427,10 @@ // Setup var assessmentSection = mocks.Stub(); var failureMechanism = mocks.StrictMultiMock>(typeof(IFailureMechanism)); - failureMechanism.Expect(fm => ((IFailureMechanism) fm).IsRelevant).Return(true); + failureMechanism.Expect(fm => fm.IsRelevant).Return(true); failureMechanism.Expect(fm => fm.SectionResults).Return(new ObservableList()).Repeat.Any(); - failureMechanism.Expect(fm => ((IFailureMechanism) fm).InputComments).Return(new Comment()); - failureMechanism.Expect(fm => ((IFailureMechanism) fm).OutputComments).Return(new Comment()); + failureMechanism.Expect(fm => fm.InputComments).Return(new Comment()); + failureMechanism.Expect(fm => fm.OutputComments).Return(new Comment()); var failureMechanismContext = mocks.Stub(failureMechanism, assessmentSection); mocks.ReplayAll();