Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Service.Test/HeightStructuresDataSynchronizationServiceTest.cs =================================================================== diff -u -r859df1c0fea027dccd923d241240aad9f50f55c8 -rfbdcde760eb5401367c8b922504819cd263d58a2 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Service.Test/HeightStructuresDataSynchronizationServiceTest.cs (.../HeightStructuresDataSynchronizationServiceTest.cs) (revision 859df1c0fea027dccd923d241240aad9f50f55c8) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Service.Test/HeightStructuresDataSynchronizationServiceTest.cs (.../HeightStructuresDataSynchronizationServiceTest.cs) (revision fbdcde760eb5401367c8b922504819cd263d58a2) @@ -47,18 +47,18 @@ public void ClearAllCalculationOutput_WithOutput_ClearsCalculationsOutput() { // Setup - HeightStructuresFailureMechanism failureMechanism = new HeightStructuresFailureMechanism(); - HeightStructuresCalculation calculation1 = new HeightStructuresCalculation + var failureMechanism = new HeightStructuresFailureMechanism(); + var calculation1 = new HeightStructuresCalculation { Output = new ProbabilityAssessmentOutput(0, 0, 0, 0, 0) }; - HeightStructuresCalculation calculation2 = new HeightStructuresCalculation + var calculation2 = new HeightStructuresCalculation { Output = new ProbabilityAssessmentOutput(0, 0, 0, 0, 0) }; - HeightStructuresCalculation calculation3 = new HeightStructuresCalculation(); + var calculation3 = new HeightStructuresCalculation(); failureMechanism.CalculationsGroup.Children.Add(calculation1); failureMechanism.CalculationsGroup.Children.Add(calculation2); @@ -94,7 +94,7 @@ public void ClearCalculationOutput_WithCalculation_ClearsOutput() { // Setup - HeightStructuresCalculation calculation = new HeightStructuresCalculation + var calculation = new HeightStructuresCalculation { Output = new ProbabilityAssessmentOutput(0, 0, 0, 0, 0) }; @@ -121,26 +121,26 @@ public void ClearHydraulicBoundaryLocations_WithHydraulicBoundaryLocation_ClearsHydraulicBoundaryLocationAndReturnsAffectedCalculations() { // Setup - HeightStructuresFailureMechanism failureMechanism = new HeightStructuresFailureMechanism(); - HydraulicBoundaryLocation hydraulicBoundaryLocation = new HydraulicBoundaryLocation(1, string.Empty, 0, 0); + var failureMechanism = new HeightStructuresFailureMechanism(); + var hydraulicBoundaryLocation = new HydraulicBoundaryLocation(1, string.Empty, 0, 0); - HeightStructuresCalculation calculation1 = new HeightStructuresCalculation + var calculation1 = new HeightStructuresCalculation { InputParameters = { HydraulicBoundaryLocation = hydraulicBoundaryLocation } }; - HeightStructuresCalculation calculation2 = new HeightStructuresCalculation + var calculation2 = new HeightStructuresCalculation { InputParameters = { HydraulicBoundaryLocation = hydraulicBoundaryLocation } }; - HeightStructuresCalculation calculation3 = new HeightStructuresCalculation(); + var calculation3 = new HeightStructuresCalculation(); failureMechanism.CalculationsGroup.Children.Add(calculation1); failureMechanism.CalculationsGroup.Children.Add(calculation2);