Index: Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Service.Test/DuneErosionDataSynchronizationServiceTest.cs =================================================================== diff -u -r1878cb65b082e46d7e9c74e849d79980b46d3af9 -rbc8aa3634aa6fb9e673c60c230844ea8827affb2 --- Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Service.Test/DuneErosionDataSynchronizationServiceTest.cs (.../DuneErosionDataSynchronizationServiceTest.cs) (revision 1878cb65b082e46d7e9c74e849d79980b46d3af9) +++ Ringtoets/DuneErosion/test/Ringtoets.DuneErosion.Service.Test/DuneErosionDataSynchronizationServiceTest.cs (.../DuneErosionDataSynchronizationServiceTest.cs) (revision bc8aa3634aa6fb9e673c60c230844ea8827affb2) @@ -80,7 +80,7 @@ } [Test] - public void SetDuneLocations_ReadDuneLocationsNull_ThrowArgumentNullException() + public void SetDuneLocations_DuneLocationsNull_ThrowArgumentNullException() { // Setup var failureMechanism = new DuneErosionFailureMechanism(); @@ -114,7 +114,7 @@ duneLocation }, failureMechanism.DuneLocations); - // call + // Call DuneErosionDataSynchronizationService.SetDuneLocations(failureMechanism, new HydraulicBoundaryLocation[0], new ReadDuneLocation[0]); @@ -163,7 +163,7 @@ [TestCase(-0.123)] [TestCase(1)] [TestCase(123.456789)] - public void SetDuneLocations_DuneLocationsMatchNameNotAccordingFormat_DeuneLocationNotAddedLogMessage(double offset) + public void SetDuneLocations_DuneLocationsMatchNameNotAccordingFormat_DuneLocationNotAddedLogMessage(double offset) { // Setup string locationName = $"Location_{offset}"; @@ -218,45 +218,6 @@ } [Test] - public void ClearDuneLocationOutput_LocationsNull_ThrowArgumentNullException() - { - // Call - TestDelegate test = () => DuneErosionDataSynchronizationService.ClearDuneLocationOutput(null); - - // Assert - var exception = Assert.Throws(test); - Assert.AreEqual("locations", exception.ParamName); - } - - [Test] - public void ClearDuneLocationOutput_LocationWithOutput_OutputClearedAndAffectedItemReturned() - { - // Setup - var location = new TestDuneLocation - { - Calculation = - { - Output = new TestDuneLocationCalculationOutput() - } - }; - - // Call - IEnumerable affected = DuneErosionDataSynchronizationService.ClearDuneLocationOutput( - new [] - { - location - }); - - // Assert - Assert.IsNull(location.Calculation.Output); - CollectionAssert.AreEqual( - new[] - { - location - }, affected); - } - - [Test] public void ClearDuneLocationCalculationOutput_FailureMechanismNull_ThrowsArgumentNullException() { // Call