Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Service.Test/HeightStructuresCalculationServiceTest.cs =================================================================== diff -u -r41a37c93cb0b3e36ff7023c9f42b4e6225598b55 -r16cb360eae0014270ebb6700054afdbbd565ae65 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Service.Test/HeightStructuresCalculationServiceTest.cs (.../HeightStructuresCalculationServiceTest.cs) (revision 41a37c93cb0b3e36ff7023c9f42b4e6225598b55) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Service.Test/HeightStructuresCalculationServiceTest.cs (.../HeightStructuresCalculationServiceTest.cs) (revision 16cb360eae0014270ebb6700054afdbbd565ae65) @@ -73,7 +73,7 @@ // Call bool isValid = false; - Action call = () => isValid = new HeightStructuresCalculationService().Validate(calculation, assessmentSectionStub); + Action call = () => isValid = HeightStructuresCalculationService.Validate(calculation, assessmentSectionStub); // Assert TestHelper.AssertLogMessages(call, messages => @@ -112,7 +112,7 @@ // Call bool isValid = false; - Action call = () => isValid = new HeightStructuresCalculationService().Validate(calculation, assessmentSectionStub); + Action call = () => isValid = HeightStructuresCalculationService.Validate(calculation, assessmentSectionStub); // Assert TestHelper.AssertLogMessages(call, messages => @@ -151,7 +151,7 @@ // Call bool isValid = false; - Action call = () => isValid = new HeightStructuresCalculationService().Validate(calculation, assessmentSectionStub); + Action call = () => isValid = HeightStructuresCalculationService.Validate(calculation, assessmentSectionStub); // Assert TestHelper.AssertLogMessages(call, messages => @@ -195,7 +195,7 @@ // Call bool isValid = false; - Action call = () => isValid = new HeightStructuresCalculationService().Validate(calculation, assessmentSectionStub); + Action call = () => isValid = HeightStructuresCalculationService.Validate(calculation, assessmentSectionStub); // Assert TestHelper.AssertLogMessages(call, messages => @@ -238,7 +238,7 @@ // Call bool isValid = false; - Action call = () => isValid = new HeightStructuresCalculationService().Validate(calculation, assessmentSectionStub); + Action call = () => isValid = HeightStructuresCalculationService.Validate(calculation, assessmentSectionStub); // Assert TestHelper.AssertLogMessages(call, messages => @@ -284,7 +284,7 @@ // Call bool isValid = false; - Action call = () => isValid = new HeightStructuresCalculationService().Validate(calculation, assessmentSectionStub); + Action call = () => isValid = HeightStructuresCalculationService.Validate(calculation, assessmentSectionStub); // Assert TestHelper.AssertLogMessages(call, messages => @@ -333,7 +333,7 @@ // Call bool isValid = false; - Action call = () => isValid = new HeightStructuresCalculationService().Validate(calculation, assessmentSectionStub); + Action call = () => isValid = HeightStructuresCalculationService.Validate(calculation, assessmentSectionStub); // Assert TestHelper.AssertLogMessages(call, messages => @@ -381,7 +381,7 @@ // Call bool isValid = false; - Action call = () => isValid = new HeightStructuresCalculationService().Validate(calculation, assessmentSectionStub); + Action call = () => isValid = HeightStructuresCalculationService.Validate(calculation, assessmentSectionStub); // Assert TestHelper.AssertLogMessages(call, messages => @@ -429,7 +429,7 @@ // Call bool isValid = false; - Action call = () => isValid = new HeightStructuresCalculationService().Validate(calculation, assessmentSectionStub); + Action call = () => isValid = HeightStructuresCalculationService.Validate(calculation, assessmentSectionStub); // Assert TestHelper.AssertLogMessages(call, messages => @@ -469,7 +469,7 @@ // Call bool isValid = false; - Action call = () => isValid = new HeightStructuresCalculationService().Validate(calculation, assessmentSectionStub); + Action call = () => isValid = HeightStructuresCalculationService.Validate(calculation, assessmentSectionStub); // Assert TestHelper.AssertLogMessages(call, messages =>