Index: Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/MacroStabilityInwards/MacroStabilityInwardsCalculationScenarioCreateExtensionsTest.cs =================================================================== diff -u -r33d8b4610b6bc2979e35aa3e23b881a9933e40b5 -re5a3455795622291e3347d1f3a7f900d5bf62da7 --- Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/MacroStabilityInwards/MacroStabilityInwardsCalculationScenarioCreateExtensionsTest.cs (.../MacroStabilityInwardsCalculationScenarioCreateExtensionsTest.cs) (revision 33d8b4610b6bc2979e35aa3e23b881a9933e40b5) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.Test/Create/MacroStabilityInwards/MacroStabilityInwardsCalculationScenarioCreateExtensionsTest.cs (.../MacroStabilityInwardsCalculationScenarioCreateExtensionsTest.cs) (revision e5a3455795622291e3347d1f3a7f900d5bf62da7) @@ -74,6 +74,8 @@ MacroStabilityInwardsCalculationEntity entity = scenario.Create(registry, 0); // Assert + Assert.IsNotNull(entity); + Assert.IsNull(entity.AssessmentLevel); Assert.IsNull(entity.SlipPlaneMinimumDepth); Assert.IsNull(entity.SlipPlaneMinimumLength); @@ -199,6 +201,8 @@ MacroStabilityInwardsCalculationEntity entity = scenario.Create(registry, order); // Assert + Assert.IsNotNull(entity); + MacroStabilityInwardsCalculationEntityTestHelper.AssertCalculationScenarioPropertyValues(scenario, entity); Assert.IsNull(entity.SurfaceLineEntity); Assert.IsNull(entity.MacroStabilityInwardsStochasticSoilProfileEntity); @@ -226,6 +230,7 @@ MacroStabilityInwardsCalculationEntity entity = scenario.Create(registry, 0); // Then + Assert.IsNotNull(entity); Assert.IsNull(entity.AssessmentLevel); } @@ -250,6 +255,7 @@ MacroStabilityInwardsCalculationEntity entity = scenario.Create(registry, 0); // Assert + Assert.IsNotNull(entity); TestHelper.AssertAreEqualButNotSame(name, entity.Name); TestHelper.AssertAreEqualButNotSame(comment, entity.Comment); } @@ -275,6 +281,7 @@ MacroStabilityInwardsCalculationEntity entity = scenario.Create(registry, 0); // Assert + Assert.IsNotNull(entity); Assert.AreSame(hydraulicLocationEntity, entity.HydraulicLocationEntity); } @@ -299,6 +306,7 @@ MacroStabilityInwardsCalculationEntity entity = scenario.Create(registry, 0); // Assert + Assert.IsNotNull(entity); Assert.AreSame(surfaceLineEntity, entity.SurfaceLineEntity); } @@ -325,6 +333,7 @@ MacroStabilityInwardsCalculationEntity entity = scenario.Create(registry, 0); // Assert + Assert.IsNotNull(entity); MacroStabilityInwardsStochasticSoilProfileEntity expectedStochasticSoilProfileEntity = registry.Get(stochasticSoilProfile); Assert.AreSame(expectedStochasticSoilProfileEntity, entity.MacroStabilityInwardsStochasticSoilProfileEntity); } @@ -344,6 +353,7 @@ MacroStabilityInwardsCalculationEntity entity = scenario.Create(registry, 0); // Assert + Assert.IsNotNull(entity); MacroStabilityInwardsCalculationOutputEntity outputEntity = entity.MacroStabilityInwardsCalculationOutputEntities.FirstOrDefault(); Assert.IsNotNull(outputEntity); MacroStabilityInwardsCalculationOutputEntityTestHelper.AssertOutputPropertyValues(scenario.Output, outputEntity); @@ -364,6 +374,7 @@ MacroStabilityInwardsCalculationEntity entity = scenario.Create(registry, 0); // Assert + Assert.IsNotNull(entity); MacroStabilityInwardsSemiProbabilisticOutputEntity outputEntity = entity.MacroStabilityInwardsSemiProbabilisticOutputEntities.FirstOrDefault(); Assert.IsNotNull(outputEntity);