Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.KernelWrapper.TestUtil/Kernels/Waternet/WaternetKernelStub.cs
===================================================================
diff -u -r136fec781013393636cee5f7375a88013d8c5ba6 -rbb00f605b488366c45f303a78a7194a2f60ff453
--- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.KernelWrapper.TestUtil/Kernels/Waternet/WaternetKernelStub.cs (.../WaternetKernelStub.cs) (revision 136fec781013393636cee5f7375a88013d8c5ba6)
+++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.KernelWrapper.TestUtil/Kernels/Waternet/WaternetKernelStub.cs (.../WaternetKernelStub.cs) (revision bb00f605b488366c45f303a78a7194a2f60ff453)
@@ -19,12 +19,33 @@
// Stichting Deltares and remain full property of Stichting Deltares at all times.
// All rights reserved.
+using Deltares.WTIStability;
+using Deltares.WTIStability.Data.Geo;
using Ringtoets.MacroStabilityInwards.KernelWrapper.Kernels.Waternet;
namespace Ringtoets.MacroStabilityInwards.KernelWrapper.TestUtil.Kernels.Waternet
{
///
/// Waternet kernel stub for testing purposes.
///
- public class WaternetKernelStub : IWaternetKernel {}
+ public class WaternetKernelStub : IWaternetKernel
+ {
+ ///
+ /// Gets a value indicating whether was called or not.
+ ///
+ public bool Calculated { get; private set; }
+
+ public StabilityLocation Location { get; set; }
+
+ public SoilModel SoilModel { get; set; }
+
+ public SoilProfile2D SoilProfile { get; set; }
+
+ public SurfaceLine2 SurfaceLine { get; set; }
+
+ public void Calculate()
+ {
+ Calculated = true;
+ }
+ }
}
\ No newline at end of file