Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/TreeNodeInfos/FailureMechanismSectionResultContextTreeNodeInfoTest.cs =================================================================== diff -u -r266b001fc7fcb405383d2411a970efa735e3c66d -r64d5609bb2912cd52dc74deffdd189222e240599 --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/TreeNodeInfos/FailureMechanismSectionResultContextTreeNodeInfoTest.cs (.../FailureMechanismSectionResultContextTreeNodeInfoTest.cs) (revision 266b001fc7fcb405383d2411a970efa735e3c66d) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/TreeNodeInfos/FailureMechanismSectionResultContextTreeNodeInfoTest.cs (.../FailureMechanismSectionResultContextTreeNodeInfoTest.cs) (revision 64d5609bb2912cd52dc74deffdd189222e240599) @@ -19,17 +19,18 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. +using System.Collections.Generic; using System.Linq; using Core.Common.Controls.TreeView; using Core.Common.Gui; using Core.Common.Gui.ContextMenu; using Core.Common.TestUtil; using NUnit.Framework; using Rhino.Mocks; +using Ringtoets.Common.Data.Calculation; using Ringtoets.Common.Data.FailureMechanism; using Ringtoets.Common.Forms.PresentationObjects; using Ringtoets.Integration.Plugin; -using Ringtoets.Piping.Data; using RingtoetsCommonFormsResources = Ringtoets.Common.Forms.Properties.Resources; namespace Ringtoets.Integration.Forms.Test.TreeNodeInfos @@ -75,7 +76,7 @@ // Setup mocks.ReplayAll(); - var mechanism = new PipingFailureMechanism(); + var mechanism = new SimpleFailureMechanism(); var context = new FailureMechanismSectionResultContext(mechanism.SectionResults, mechanism); // Call @@ -121,4 +122,21 @@ mocks.VerifyAll(); } } + + public class SimpleFailureMechanism : FailureMechanismBase { + public SimpleFailureMechanism() : base("N", "C") {} + + public override IEnumerable Calculations + { + get + { + throw new System.NotImplementedException(); + } + } + + protected override FailureMechanismSectionResult CreateFailureMechanismSectionResult(FailureMechanismSection section) + { + throw new System.NotImplementedException(); + } + } } \ No newline at end of file