Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Data.TestUtil/MacroStabilityInwardsOutputTestFactory.cs
===================================================================
diff -u -r945a77ff5c6348980353e968411fcf1296908512 -rb513e76d805898795483251f7d070489dfd20b9b
--- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Data.TestUtil/MacroStabilityInwardsOutputTestFactory.cs (.../MacroStabilityInwardsOutputTestFactory.cs) (revision 945a77ff5c6348980353e968411fcf1296908512)
+++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Data.TestUtil/MacroStabilityInwardsOutputTestFactory.cs (.../MacroStabilityInwardsOutputTestFactory.cs) (revision b513e76d805898795483251f7d070489dfd20b9b)
@@ -20,17 +20,18 @@
// All rights reserved.
using System;
+using System.Linq;
namespace Ringtoets.MacroStabilityInwards.Data.TestUtil
{
///
- /// Factory that creates instances of
+ /// Factory that creates instances of
/// that can be used for testing.
///
public static class MacroStabilityInwardsOutputTestFactory
{
///
- /// Creates an instance of with default values.
+ /// Creates an instance of with default values.
///
/// A .
public static MacroStabilityInwardsOutput CreateOutput()
@@ -39,8 +40,24 @@
}
///
- /// Creates an instance of .
+ /// Creates an instance of without slices.
///
+ /// A .
+ public static MacroStabilityInwardsOutput CreateOutputWithoutSlices()
+ {
+ return new MacroStabilityInwardsOutput(
+ new MacroStabilityInwardsSlidingCurve(MacroStabilityInwardsSlidingCircleTestFactory.Create(),
+ MacroStabilityInwardsSlidingCircleTestFactory.Create(),
+ Enumerable.Empty(), 0, 0),
+ new MacroStabilityInwardsSlipPlaneUpliftVan(MacroStabilityInwardsGridTestFactory.Create(),
+ MacroStabilityInwardsGridTestFactory.Create(),
+ new double[0]),
+ new MacroStabilityInwardsOutput.ConstructionProperties());
+ }
+
+ ///
+ /// Creates an instance of .
+ ///
/// The container of the properties for the .
/// A .
/// Thrown when
@@ -49,7 +66,7 @@
{
return new MacroStabilityInwardsOutput(new MacroStabilityInwardsSlidingCurve(MacroStabilityInwardsSlidingCircleTestFactory.Create(),
MacroStabilityInwardsSlidingCircleTestFactory.Create(),
- new []
+ new[]
{
MacroStabilityInwardsSliceTestFactory.CreateSlice(),
MacroStabilityInwardsSliceTestFactory.CreateSlice(),
@@ -62,7 +79,7 @@
}
///
- /// Creates an instance of with initialized values
+ /// Creates an instance of with initialized values
/// for all properties.
///
/// A .