Index: Riskeer/MacroStabilityInwards/test/Riskeer.MacroStabilityInwards.KernelWrapper.TestUtil/Kernels/TestMacroStabilityInwardsKernelFactory.cs =================================================================== diff -u -rdccd06261ac7704bcdf747ef9fb0765b5662375e -r1cedc019c6fb70cddf5dffeade8edde820ecda18 --- Riskeer/MacroStabilityInwards/test/Riskeer.MacroStabilityInwards.KernelWrapper.TestUtil/Kernels/TestMacroStabilityInwardsKernelFactory.cs (.../TestMacroStabilityInwardsKernelFactory.cs) (revision dccd06261ac7704bcdf747ef9fb0765b5662375e) +++ Riskeer/MacroStabilityInwards/test/Riskeer.MacroStabilityInwards.KernelWrapper.TestUtil/Kernels/TestMacroStabilityInwardsKernelFactory.cs (.../TestMacroStabilityInwardsKernelFactory.cs) (revision 1cedc019c6fb70cddf5dffeade8edde820ecda18) @@ -59,12 +59,16 @@ public IWaternetKernel CreateWaternetExtremeKernel(Location location) { - LastCreatedWaternetKernel.SetLocation(location); - return LastCreatedWaternetKernel; + return CreateWaternetKernel(location); } public IWaternetKernel CreateWaternetDailyKernel(Location location) { + return CreateWaternetKernel(location); + } + + private IWaternetKernel CreateWaternetKernel(Location location) + { LastCreatedWaternetKernel.SetLocation(location); return LastCreatedWaternetKernel; }