Index: Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/FailureMechanismSectionsProperties.cs
===================================================================
diff -u -r23a6dd9ff6a575884879762e0e4aff01e21611ea -r3a86ac9dd4d70b667408c24e1ccac046b76c2a3b
--- Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/FailureMechanismSectionsProperties.cs (.../FailureMechanismSectionsProperties.cs) (revision 23a6dd9ff6a575884879762e0e4aff01e21611ea)
+++ Ringtoets/Common/src/Ringtoets.Common.Forms/PropertyClasses/FailureMechanismSectionsProperties.cs (.../FailureMechanismSectionsProperties.cs) (revision 3a86ac9dd4d70b667408c24e1ccac046b76c2a3b)
@@ -44,7 +44,7 @@
/// Creates a new instance of .
///
/// The sections to show the properties for.
- /// The failure mechanisms which the sections belong to.
+ /// The failure mechanism which the sections belong to.
/// Thrown when any parameter is null.
public FailureMechanismSectionsProperties(IEnumerable sections, IFailureMechanism failureMechanism)
{
Index: Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/PropertyInfos/FailureMechanismSectionsPropertyInfoTest.cs
===================================================================
diff -u -r23a6dd9ff6a575884879762e0e4aff01e21611ea -r3a86ac9dd4d70b667408c24e1ccac046b76c2a3b
--- Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/PropertyInfos/FailureMechanismSectionsPropertyInfoTest.cs (.../FailureMechanismSectionsPropertyInfoTest.cs) (revision 23a6dd9ff6a575884879762e0e4aff01e21611ea)
+++ Ringtoets/Integration/test/Ringtoets.Integration.Plugin.Test/PropertyInfos/FailureMechanismSectionsPropertyInfoTest.cs (.../FailureMechanismSectionsPropertyInfoTest.cs) (revision 3a86ac9dd4d70b667408c24e1ccac046b76c2a3b)
@@ -66,7 +66,6 @@
var failureMechanism = mocks.Stub();
failureMechanism.Stub(fm => fm.Sections).Return(Enumerable.Empty());
failureMechanism.Stub(fm => fm.Attach(null)).IgnoreArguments();
- failureMechanism.Stub(fm => fm.Detach(null)).IgnoreArguments();
var assessmentSection = mocks.Stub();
mocks.ReplayAll();
@@ -78,6 +77,8 @@
// Assert
Assert.IsInstanceOf(objectProperties);
Assert.AreSame(failureMechanism.Sections, objectProperties.Data);
+
+ mocks.VerifyAll();
}
}
}
\ No newline at end of file