Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ViewInfos/FailureMechanismSectionsViewInfoTest.cs =================================================================== diff -u -r4abbfc484024001a04add8b2634777acb246cd83 -r32994139e33b5ef8110cae9d8a15647c5afa2bc9 --- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ViewInfos/FailureMechanismSectionsViewInfoTest.cs (.../FailureMechanismSectionsViewInfoTest.cs) (revision 4abbfc484024001a04add8b2634777acb246cd83) +++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/ViewInfos/FailureMechanismSectionsViewInfoTest.cs (.../FailureMechanismSectionsViewInfoTest.cs) (revision 32994139e33b5ef8110cae9d8a15647c5afa2bc9) @@ -22,6 +22,7 @@ using System.Collections.Generic; using System.Drawing; using System.Linq; +using Core.Common.Controls.Views; using Core.Common.Gui.Plugin; using Core.Common.TestUtil; using NUnit.Framework; @@ -98,14 +99,14 @@ } [TestFixture] - public class FailureMechanismSectionsViewInfoCloseForDataTester : ShouldCloseFailureMechanismSectionsViewTester + public class ShouldCloseFailureMechanismSectionsViewForDataTester : ShouldCloseViewWithFailureMechanismTester { - protected override bool ShouldCloseMethod(FailureMechanismSectionsView view, object o) + protected override bool ShouldCloseMethod(IView view, object o) { return info.CloseForData(view, o); } - protected override FailureMechanismSectionsView GetView(IFailureMechanism failureMechanism) + protected override IView GetView(IFailureMechanism failureMechanism) { return new FailureMechanismSectionsView(failureMechanism.Sections, failureMechanism); }