Index: Ringtoets/Common/test/Ringtoets.Common.Service.Test/DesignWaterLevelCalculationActivityTest.cs =================================================================== diff -u -r1e533850c7711172462df1e8f569b9f3ff950045 -rbb32237c29a9f16a3d7e65c1baf833f5fb0c1988 --- Ringtoets/Common/test/Ringtoets.Common.Service.Test/DesignWaterLevelCalculationActivityTest.cs (.../DesignWaterLevelCalculationActivityTest.cs) (revision 1e533850c7711172462df1e8f569b9f3ff950045) +++ Ringtoets/Common/test/Ringtoets.Common.Service.Test/DesignWaterLevelCalculationActivityTest.cs (.../DesignWaterLevelCalculationActivityTest.cs) (revision bb32237c29a9f16a3d7e65c1baf833f5fb0c1988) @@ -155,6 +155,8 @@ const string locationName = "punt_flw_"; const string activityName = "GetActivityName"; const string calculationName = "locationName"; + const string ringId = "11-1"; + const double norm = 30; var hydraulicBoundaryLocationMock = mockRepository.Stub(); hydraulicBoundaryLocationMock.Expect(hbl => hbl.Name).Return(locationName).Repeat.AtLeastOnce(); @@ -167,7 +169,7 @@ var activity = new DesignWaterLevelCalculationActivity(calculationMessageProviderMock, hydraulicBoundaryLocationMock, - validFilePath, "", 30); + validFilePath, ringId, norm); using (new DesignWaterLevelCalculationServiceConfig()) { @@ -178,6 +180,10 @@ // Assert Assert.AreSame(calculationMessageProviderMock, testService.MessageProvider); + Assert.AreSame(hydraulicBoundaryLocationMock, testService.HydraulicBoundaryLocation); + Assert.AreEqual(validFilePath, testService.HydraulicBoundaryDatabaseFilePath); + Assert.AreEqual(ringId, testService.RingId); + Assert.AreEqual(norm, testService.Norm); } Assert.AreEqual(ActivityState.Executed, activity.State); mockRepository.VerifyAll();