Index: Riskeer/MacroStabilityInwards/test/Riskeer.MacroStabilityInwards.KernelWrapper.Test/Calculators/Waternet/WaternetDailyCalculatorTest.cs =================================================================== diff -u -r89f263f074499111fd54b421916b015bacc60686 -rdccd06261ac7704bcdf747ef9fb0765b5662375e --- Riskeer/MacroStabilityInwards/test/Riskeer.MacroStabilityInwards.KernelWrapper.Test/Calculators/Waternet/WaternetDailyCalculatorTest.cs (.../WaternetDailyCalculatorTest.cs) (revision 89f263f074499111fd54b421916b015bacc60686) +++ Riskeer/MacroStabilityInwards/test/Riskeer.MacroStabilityInwards.KernelWrapper.Test/Calculators/Waternet/WaternetDailyCalculatorTest.cs (.../WaternetDailyCalculatorTest.cs) (revision dccd06261ac7704bcdf747ef9fb0765b5662375e) @@ -67,14 +67,13 @@ { var factory = (TestMacroStabilityInwardsKernelFactory) MacroStabilityInwardsKernelWrapperFactory.Instance; WaternetKernelStub waternetKernel = factory.LastCreatedWaternetKernel; - factory.LastCreatedWaternetKernel.SetLocation(WaternetLocationCreator.Create(input)); SetKernelOutput(waternetKernel); // Call new WaternetDailyCalculator(input, factory).Calculate(); // Assert - LayerWithSoil[] layersWithSoil = LayerWithSoilCreator.Create(input.SoilProfile, out IDictionary layerLookup); + LayerWithSoil[] layersWithSoil = LayerWithSoilCreator.Create(input.SoilProfile, out IDictionary _); KernelInputAssert.AssertSoilProfiles(SoilProfileCreator.Create(layersWithSoil), waternetKernel.SoilProfile); KernelInputAssert.AssertLocations(WaternetLocationCreator.Create(input), waternetKernel.Location); Index: Riskeer/MacroStabilityInwards/test/Riskeer.MacroStabilityInwards.KernelWrapper.TestUtil/Calculators/Waternet/Output/WaternetCalculatorResultTestFactory.cs =================================================================== diff -u -rf21e2fd08f032d801d2ab15f5b0966e2245c6f3c -rdccd06261ac7704bcdf747ef9fb0765b5662375e --- Riskeer/MacroStabilityInwards/test/Riskeer.MacroStabilityInwards.KernelWrapper.TestUtil/Calculators/Waternet/Output/WaternetCalculatorResultTestFactory.cs (.../WaternetCalculatorResultTestFactory.cs) (revision f21e2fd08f032d801d2ab15f5b0966e2245c6f3c) +++ Riskeer/MacroStabilityInwards/test/Riskeer.MacroStabilityInwards.KernelWrapper.TestUtil/Calculators/Waternet/Output/WaternetCalculatorResultTestFactory.cs (.../WaternetCalculatorResultTestFactory.cs) (revision dccd06261ac7704bcdf747ef9fb0765b5662375e) @@ -56,7 +56,7 @@ } /// - /// Creates a new . + /// Creates a new with an empty phreatic lines and Waternet lines collections. /// /// The created . public static WaternetCalculatorResult CreateEmptyResult() Index: Riskeer/MacroStabilityInwards/test/Riskeer.MacroStabilityInwards.KernelWrapper.TestUtil/Kernels/TestMacroStabilityInwardsKernelFactory.cs =================================================================== diff -u -r870b9a145e270c1ae1879cfadec7ccbf9fade51d -rdccd06261ac7704bcdf747ef9fb0765b5662375e --- Riskeer/MacroStabilityInwards/test/Riskeer.MacroStabilityInwards.KernelWrapper.TestUtil/Kernels/TestMacroStabilityInwardsKernelFactory.cs (.../TestMacroStabilityInwardsKernelFactory.cs) (revision 870b9a145e270c1ae1879cfadec7ccbf9fade51d) +++ Riskeer/MacroStabilityInwards/test/Riskeer.MacroStabilityInwards.KernelWrapper.TestUtil/Kernels/TestMacroStabilityInwardsKernelFactory.cs (.../TestMacroStabilityInwardsKernelFactory.cs) (revision dccd06261ac7704bcdf747ef9fb0765b5662375e) @@ -59,11 +59,13 @@ public IWaternetKernel CreateWaternetExtremeKernel(Location location) { + LastCreatedWaternetKernel.SetLocation(location); return LastCreatedWaternetKernel; } public IWaternetKernel CreateWaternetDailyKernel(Location location) { + LastCreatedWaternetKernel.SetLocation(location); return LastCreatedWaternetKernel; } }