Index: Ringtoets/Common/test/Ringtoets.Common.Service.Test/DesignWaterLevelCalculationServiceTest.cs =================================================================== diff -u -r2fb9ff1aeea694e4ee33075b6ae5e6f3f819573c -r93044b3ed52a925c5321b68ff2beb886c6bf7068 --- Ringtoets/Common/test/Ringtoets.Common.Service.Test/DesignWaterLevelCalculationServiceTest.cs (.../DesignWaterLevelCalculationServiceTest.cs) (revision 2fb9ff1aeea694e4ee33075b6ae5e6f3f819573c) +++ Ringtoets/Common/test/Ringtoets.Common.Service.Test/DesignWaterLevelCalculationServiceTest.cs (.../DesignWaterLevelCalculationServiceTest.cs) (revision 93044b3ed52a925c5321b68ff2beb886c6bf7068) @@ -217,7 +217,7 @@ } [Test] - public void Calculate_ValidDesignWaterLevelCalculationWithIllustrationPointsButIsNull_ThrowsHydraRingCalculationException() + public void Calculate_ValidDesignWaterLevelCalculationWithIllustrationPointsButIsNull_IllustrationPointsNotSet() { // Setup string validFilePath = Path.Combine(testDataPath, validFile); @@ -245,15 +245,14 @@ using (new HydraRingCalculatorFactoryConfig(calculatorFactory)) { // Call - TestDelegate call = () => new DesignWaterLevelCalculationService() + new DesignWaterLevelCalculationService() .Calculate(calculation, validFilePath, 1.0 / 30, calculationMessageProvider); // Assert - var thrownException = Assert.Throws(call); - Assert.AreEqual("Er konden geen illustratiepunten worden uitgelezen.", thrownException.Message); + Assert.IsFalse(calculation.Output.HasIllustrationPoints); } mockRepository.VerifyAll(); }