Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Primitives.Test/MacroStabilityInwardsSoilLayerUnderSurfaceLineTest.cs =================================================================== diff -u -rd90619dfb54877db8067f27218c45ad4e5dab55d -r708bcebfe9e5db209c818a12d630cb418231f863 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Primitives.Test/MacroStabilityInwardsSoilLayerUnderSurfaceLineTest.cs (.../MacroStabilityInwardsSoilLayerUnderSurfaceLineTest.cs) (revision d90619dfb54877db8067f27218c45ad4e5dab55d) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Primitives.Test/MacroStabilityInwardsSoilLayerUnderSurfaceLineTest.cs (.../MacroStabilityInwardsSoilLayerUnderSurfaceLineTest.cs) (revision 708bcebfe9e5db209c818a12d630cb418231f863) @@ -34,7 +34,10 @@ public void Constructor_WithoutOuterRingWithHolesAndProperties_ThrowsArgumentNullException() { // Call - TestDelegate test = () => new MacroStabilityInwardsSoilLayerUnderSurfaceLine(null, Enumerable.Empty(), new MacroStabilityInwardsSoilLayerProperties()); + TestDelegate test = () => new MacroStabilityInwardsSoilLayerUnderSurfaceLine( + null, Enumerable.Empty(), + new MacroStabilityInwardsSoilLayerPropertiesUnderSurfaceLine( + new MacroStabilityInwardsSoilLayerPropertiesUnderSurfaceLine.ConstructionProperties())); // Assert var exception = Assert.Throws(test); @@ -45,7 +48,9 @@ public void Constructor_WithoutHolesWithOuterRingAndProperties_ThrowsArgumentNullException() { // Call - TestDelegate test = () => new MacroStabilityInwardsSoilLayerUnderSurfaceLine(new Point2D[0], null, new MacroStabilityInwardsSoilLayerProperties()); + TestDelegate test = () => new MacroStabilityInwardsSoilLayerUnderSurfaceLine( + new Point2D[0], null, new MacroStabilityInwardsSoilLayerPropertiesUnderSurfaceLine( + new MacroStabilityInwardsSoilLayerPropertiesUnderSurfaceLine.ConstructionProperties())); // Assert var exception = Assert.Throws(test); @@ -67,7 +72,9 @@ public void Constructor_WithoutOuterRingWithProperties_ThrowsArgumentNullException() { // Call - TestDelegate test = () => new MacroStabilityInwardsSoilLayerUnderSurfaceLine(null, new MacroStabilityInwardsSoilLayerProperties()); + TestDelegate test = () => new MacroStabilityInwardsSoilLayerUnderSurfaceLine( + null, new MacroStabilityInwardsSoilLayerPropertiesUnderSurfaceLine( + new MacroStabilityInwardsSoilLayerPropertiesUnderSurfaceLine.ConstructionProperties())); // Assert var exception = Assert.Throws(test); @@ -91,7 +98,8 @@ // Call var outerRing = new Point2D[0]; IEnumerable holes = Enumerable.Empty(); - var properties = new MacroStabilityInwardsSoilLayerProperties(); + var properties = new MacroStabilityInwardsSoilLayerPropertiesUnderSurfaceLine( + new MacroStabilityInwardsSoilLayerPropertiesUnderSurfaceLine.ConstructionProperties()); // Setup var layer = new MacroStabilityInwardsSoilLayerUnderSurfaceLine(outerRing, holes, properties); @@ -107,7 +115,8 @@ { // Call var outerRing = new Point2D[0]; - var properties = new MacroStabilityInwardsSoilLayerProperties(); + var properties = new MacroStabilityInwardsSoilLayerPropertiesUnderSurfaceLine( + new MacroStabilityInwardsSoilLayerPropertiesUnderSurfaceLine.ConstructionProperties()); // Setup var layer = new MacroStabilityInwardsSoilLayerUnderSurfaceLine(outerRing, properties);