Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/PropertyClasses/HeightStructuresInputContextPropertiesTest.cs =================================================================== diff -u -rbcdabbbbd7fae323c339fdabc8bcb390962ccbcc -r2d104a54ab378eea92fd946b40cff2bd79ca39b0 --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/PropertyClasses/HeightStructuresInputContextPropertiesTest.cs (.../HeightStructuresInputContextPropertiesTest.cs) (revision bcdabbbbd7fae323c339fdabc8bcb390962ccbcc) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Forms.Test/PropertyClasses/HeightStructuresInputContextPropertiesTest.cs (.../HeightStructuresInputContextPropertiesTest.cs) (revision 2d104a54ab378eea92fd946b40cff2bd79ca39b0) @@ -36,6 +36,7 @@ using Ringtoets.Common.Data.TestUtil; using Ringtoets.Common.Forms.PropertyClasses; using Ringtoets.Common.Forms.TestUtil; +using Ringtoets.Common.Forms.TypeConverters; using Ringtoets.HeightStructures.Data; using Ringtoets.HeightStructures.Data.TestUtil; using Ringtoets.HeightStructures.Forms.PresentationObjects; @@ -112,7 +113,7 @@ } [Test] - public void Constructor_WithDataAndHandler_ExpectedValues() + public void Constructor_ValidData_ExpectedValues() { // Setup var handler = mockRepository.Stub(); @@ -130,12 +131,16 @@ var properties = new HeightStructuresInputContextProperties(inputContext, handler); // Assert - Assert.IsInstanceOf, HeightStructuresFailureMechanism>>(properties); + Assert.IsInstanceOf, + HeightStructuresFailureMechanism>>(properties); Assert.AreSame(inputContext, properties.Data); HeightStructuresInput input = calculation.InputParameters; Assert.AreSame(input.LevelCrestStructure, properties.LevelCrestStructure.Data); + TestHelper.AssertTypeConverter( + nameof(HeightStructuresInputContextProperties.FailureProbabilityStructureWithErosion)); + mockRepository.VerifyAll(); }