Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Service.Test/MacroStabilityInwardsInputServiceTest.cs =================================================================== diff -u -r8cbe9f4263082b2a7199fa4643f32a09b025d2ec -rd619624819b7200ac55b357b0a0c54d198fc20e4 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Service.Test/MacroStabilityInwardsInputServiceTest.cs (.../MacroStabilityInwardsInputServiceTest.cs) (revision 8cbe9f4263082b2a7199fa4643f32a09b025d2ec) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Service.Test/MacroStabilityInwardsInputServiceTest.cs (.../MacroStabilityInwardsInputServiceTest.cs) (revision d619624819b7200ac55b357b0a0c54d198fc20e4) @@ -35,7 +35,7 @@ { // Setup var soilModel = new MacroStabilityInwardsStochasticSoilModel("A"); - var input = new MacroStabilityInwardsInput(new GeneralMacroStabilityInwardsInput()); + var input = new MacroStabilityInwardsInput(); // Call MacroStabilityInwardsInputService.SetMatchingStochasticSoilModel(input, new[] @@ -51,7 +51,7 @@ public void SetMatchingStochasticSoilModel_SurfaceLineOverlappingMultipleSoilModels_DoesNotSetModel() { // Setup - var input = new MacroStabilityInwardsInput(new GeneralMacroStabilityInwardsInput()); + var input = new MacroStabilityInwardsInput(); var soilModel1 = new MacroStabilityInwardsStochasticSoilModel("A"); var soilModel2 = new MacroStabilityInwardsStochasticSoilModel("C"); @@ -71,7 +71,7 @@ { // Setup var nonOverlappingSoilModel = new MacroStabilityInwardsStochasticSoilModel("A"); - var input = new MacroStabilityInwardsInput(new GeneralMacroStabilityInwardsInput()) + var input = new MacroStabilityInwardsInput { StochasticSoilModel = nonOverlappingSoilModel }; @@ -99,7 +99,7 @@ var soilModel = new MacroStabilityInwardsStochasticSoilModel("A"); soilModel.StochasticSoilProfiles.Add(soilProfile); - var input = new MacroStabilityInwardsInput(new GeneralMacroStabilityInwardsInput()) + var input = new MacroStabilityInwardsInput { StochasticSoilModel = soilModel }; @@ -121,7 +121,7 @@ new MacroStabilityInwardsStochasticSoilProfile(0.0, new TestMacroStabilityInwardsSoilProfile1D()), new MacroStabilityInwardsStochasticSoilProfile(1.0, new TestMacroStabilityInwardsSoilProfile1D()) }); - var input = new MacroStabilityInwardsInput(new GeneralMacroStabilityInwardsInput()) + var input = new MacroStabilityInwardsInput { StochasticSoilModel = soilModel }; @@ -142,7 +142,7 @@ var soilModel = new MacroStabilityInwardsStochasticSoilModel("A"); soilModel.StochasticSoilProfiles.Add(soilProfile); - var input = new MacroStabilityInwardsInput(new GeneralMacroStabilityInwardsInput()) + var input = new MacroStabilityInwardsInput { StochasticSoilModel = soilModel, StochasticSoilProfile = soilProfile