Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.KernelWrapper.TestUtil/MacroStabilityInwardsCalculatorStub.cs =================================================================== diff -u -r742cb1709bba5e30022c21501add2db4b3900c0c -r37b140fe95b895b99d5d93a853b9bc1b4e96d5e4 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.KernelWrapper.TestUtil/MacroStabilityInwardsCalculatorStub.cs (.../MacroStabilityInwardsCalculatorStub.cs) (revision 742cb1709bba5e30022c21501add2db4b3900c0c) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.KernelWrapper.TestUtil/MacroStabilityInwardsCalculatorStub.cs (.../MacroStabilityInwardsCalculatorStub.cs) (revision 37b140fe95b895b99d5d93a853b9bc1b4e96d5e4) @@ -20,8 +20,6 @@ // All rights reserved. using System.Collections.Generic; -using Ringtoets.MacroStabilityInwards.KernelWrapper.Result; -using Ringtoets.MacroStabilityInwards.KernelWrapper.TestUtil.Result; namespace Ringtoets.MacroStabilityInwards.KernelWrapper.TestUtil { @@ -32,14 +30,11 @@ { public MacroStabilityInwardsCalculatorInput Input { get; set; } + public MacroStabilityInwardsCalculatorResult Output { get; private set; } + public MacroStabilityInwardsCalculatorResult Calculate() { - return new MacroStabilityInwardsCalculatorResult( - MacroStabilityInwardsSlidingCurveResultTestFactory.Create(), - new MacroStabilityInwardsUpliftVanCalculationGridResult(MacroStabilityInwardsGridResultTestFactory.Create(), - MacroStabilityInwardsGridResultTestFactory.Create(), - new double[0]), - new MacroStabilityInwardsCalculatorResult.ConstructionProperties()); + return Output ?? (Output = MacroStabilityInwardsCalculatorResultTestFactory.Create()); } public List Validate()