Index: Ringtoets/Common/src/Ringtoets.Common.Data/AssessmentSection/IAssessmentSection.cs
===================================================================
diff -u -r04ce3aba2040890561953a6846679544e861e0d1 -rfb2a074d7c2568900f42fee02ef4a3a72fe40ea3
--- Ringtoets/Common/src/Ringtoets.Common.Data/AssessmentSection/IAssessmentSection.cs (.../IAssessmentSection.cs) (revision 04ce3aba2040890561953a6846679544e861e0d1)
+++ Ringtoets/Common/src/Ringtoets.Common.Data/AssessmentSection/IAssessmentSection.cs (.../IAssessmentSection.cs) (revision fb2a074d7c2568900f42fee02ef4a3a72fe40ea3)
@@ -125,12 +125,5 @@
///
/// The new composition description.
void ChangeComposition(AssessmentSectionComposition newComposition);
-
- ///
- /// Sets hydraulic boundary location calculations for .
- ///
- /// The hydraulic boundary locations to add calculations for.
- /// Thrown when is null.
- void SetHydraulicBoundaryLocationCalculations(IEnumerable hydraulicBoundaryLocations);
}
}
\ No newline at end of file
Index: Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/ObservableTestAssessmentSectionStubTest.cs
===================================================================
diff -u -r04ce3aba2040890561953a6846679544e861e0d1 -rfb2a074d7c2568900f42fee02ef4a3a72fe40ea3
--- Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/ObservableTestAssessmentSectionStubTest.cs (.../ObservableTestAssessmentSectionStubTest.cs) (revision 04ce3aba2040890561953a6846679544e861e0d1)
+++ Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil.Test/ObservableTestAssessmentSectionStubTest.cs (.../ObservableTestAssessmentSectionStubTest.cs) (revision fb2a074d7c2568900f42fee02ef4a3a72fe40ea3)
@@ -108,20 +108,5 @@
const string expectedMessage = "Stub only verifies Observable and basic behaviour, use a proper stub when this function is necessary.";
Assert.AreEqual(expectedMessage, message);
}
-
- [Test]
- public void SetHydraulicBoundaryLocationCalculations_Call_ThrowsNotImplementedException()
- {
- // Setup
- var assessmentSection = new ObservableTestAssessmentSectionStub();
-
- // Call
- TestDelegate call = () => assessmentSection.SetHydraulicBoundaryLocationCalculations(Enumerable.Empty());
-
- // Assert
- string message = Assert.Throws(call).Message;
- const string expectedMessage = "Stub only verifies Observable and basic behaviour, use a proper stub when this function is necessary.";
- Assert.AreEqual(expectedMessage, message);
- }
}
}
\ No newline at end of file
Index: Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/ObservableTestAssessmentSectionStub.cs
===================================================================
diff -u -r04ce3aba2040890561953a6846679544e861e0d1 -rfb2a074d7c2568900f42fee02ef4a3a72fe40ea3
--- Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/ObservableTestAssessmentSectionStub.cs (.../ObservableTestAssessmentSectionStub.cs) (revision 04ce3aba2040890561953a6846679544e861e0d1)
+++ Ringtoets/Common/test/Ringtoets.Common.Data.TestUtil/ObservableTestAssessmentSectionStub.cs (.../ObservableTestAssessmentSectionStub.cs) (revision fb2a074d7c2568900f42fee02ef4a3a72fe40ea3)
@@ -85,10 +85,5 @@
{
throw new NotImplementedException("Stub only verifies Observable and basic behaviour, use a proper stub when this function is necessary.");
}
-
- public void SetHydraulicBoundaryLocationCalculations(IEnumerable hydraulicBoundaryLocations)
- {
- throw new NotImplementedException("Stub only verifies Observable and basic behaviour, use a proper stub when this function is necessary.");
- }
}
}
\ No newline at end of file
Index: Ringtoets/Integration/src/Ringtoets.Integration.Data/AssessmentSection.cs
===================================================================
diff -u -r04ce3aba2040890561953a6846679544e861e0d1 -rfb2a074d7c2568900f42fee02ef4a3a72fe40ea3
--- Ringtoets/Integration/src/Ringtoets.Integration.Data/AssessmentSection.cs (.../AssessmentSection.cs) (revision 04ce3aba2040890561953a6846679544e861e0d1)
+++ Ringtoets/Integration/src/Ringtoets.Integration.Data/AssessmentSection.cs (.../AssessmentSection.cs) (revision fb2a074d7c2568900f42fee02ef4a3a72fe40ea3)
@@ -305,6 +305,11 @@
public BackgroundData BackgroundData { get; }
+ ///
+ /// Sets hydraulic boundary location calculations for .
+ ///
+ /// The hydraulic boundary locations to add calculations for.
+ /// Thrown when is null.
public void SetHydraulicBoundaryLocationCalculations(IEnumerable hydraulicBoundaryLocations)
{
if (hydraulicBoundaryLocations == null)