Index: Ringtoets/Common/test/Ringtoets.Common.Service.Test/DesignWaterLevelCalculationServiceTest.cs =================================================================== diff -u -rc78a5b1d66fba1148ab5880357ce3c20a042c9ed -r248229db928c9e5556be704ed274226f80b4ef19 --- Ringtoets/Common/test/Ringtoets.Common.Service.Test/DesignWaterLevelCalculationServiceTest.cs (.../DesignWaterLevelCalculationServiceTest.cs) (revision c78a5b1d66fba1148ab5880357ce3c20a042c9ed) +++ Ringtoets/Common/test/Ringtoets.Common.Service.Test/DesignWaterLevelCalculationServiceTest.cs (.../DesignWaterLevelCalculationServiceTest.cs) (revision 248229db928c9e5556be704ed274226f80b4ef19) @@ -45,6 +45,16 @@ private readonly string testDataPath = TestHelper.GetTestDataPath(TestDataPath.Ringtoets.Integration.Service, "HydraRingCalculation"); [Test] + public void Constructor_ExpectedValues() + { + // Call + var service = new DesignWaterLevelCalculationService(); + + // Assert + Assert.IsInstanceOf>(service); + } + + [Test] public void Validate_ValidHydraulicBoundaryDatabasePath_ReturnsTrue() { // Setup @@ -117,9 +127,11 @@ var testService = (TestHydraRingCalculationService) HydraRingCalculationService.Instance; // Call - DesignWaterLevelCalculationService.Instance.Calculate(calculationMessageProviderMock, - hydraulicBoundaryLocationMock, - validFilePath, ringId, norm); + DesignWaterLevelCalculationService.Instance.Calculate(hydraulicBoundaryLocationMock, + validFilePath, + ringId, + norm, + calculationMessageProviderMock); // Assert Assert.AreEqual(testDataPath, testService.HlcdDirectory); @@ -161,9 +173,11 @@ using (new HydraRingCalculationServiceConfig()) { // Call - Action call = () => output = DesignWaterLevelCalculationService.Instance.Calculate(calculationMessageProviderMock, - hydraulicBoundaryLocationMock, - validFilePath, ringId, norm); + Action call = () => output = DesignWaterLevelCalculationService.Instance.Calculate(hydraulicBoundaryLocationMock, + validFilePath, + ringId, + norm, + calculationMessageProviderMock); // Assert TestHelper.AssertLogMessages(call, messages =>