Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/PropertyClasses/MacroStabilityInwardsGridSettingsPropertiesTest.cs =================================================================== diff -u -r99cac92e4eeb290856138296baab92ca7c09e0f7 -re63dcbcfc3539e54d563a826d494bf5909cdbdc8 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/PropertyClasses/MacroStabilityInwardsGridSettingsPropertiesTest.cs (.../MacroStabilityInwardsGridSettingsPropertiesTest.cs) (revision 99cac92e4eeb290856138296baab92ca7c09e0f7) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/PropertyClasses/MacroStabilityInwardsGridSettingsPropertiesTest.cs (.../MacroStabilityInwardsGridSettingsPropertiesTest.cs) (revision e63dcbcfc3539e54d563a826d494bf5909cdbdc8) @@ -23,6 +23,7 @@ using System.ComponentModel; using Core.Common.Base; using Core.Common.Base.Data; +using Core.Common.Gui.Converters; using Core.Common.Gui.PropertyBag; using Core.Common.TestUtil; using Core.Common.Utils; @@ -123,15 +124,15 @@ "Sta automatische aanpassing van het grid toe?"); PropertyDescriptor gridDeterminationProperty = dynamicProperties[expectedGridDeterminationPropertyIndex]; - Assert.AreEqual(typeof(EnumTypeConverter), gridDeterminationProperty.Converter.GetType()); + TestHelper.AssertTypeConverter(nameof(properties.GridDetermination)); PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties( gridDeterminationProperty, calculationGridsCategory, "Bepaling grid", "Rekengrid automatisch bepalen of handmatig invoeren?"); PropertyDescriptor tangentLineDeterminationProperty = dynamicProperties[expectedTangentLineDeterminationPropertyIndex]; - Assert.AreEqual(typeof(EnumTypeConverter), tangentLineDeterminationProperty.Converter.GetType()); + TestHelper.AssertTypeConverter(nameof(properties.TangentLineDetermination)); PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties( tangentLineDeterminationProperty, calculationGridsCategory, @@ -153,7 +154,7 @@ "Verticale coordinaat van de onderste raaklijn."); PropertyDescriptor leftGridProperty = dynamicProperties[expectedLeftGridPropertyIndex]; - Assert.AreEqual(typeof(ExpandableObjectConverter), leftGridProperty.Converter.GetType()); + TestHelper.AssertTypeConverter(nameof(properties.LeftGrid)); PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties( leftGridProperty, calculationGridsCategory, @@ -162,7 +163,7 @@ true); PropertyDescriptor rightGridProperty = dynamicProperties[expectedRightGridPropertyIndex]; - Assert.AreEqual(typeof(ExpandableObjectConverter), rightGridProperty.Converter.GetType()); + TestHelper.AssertTypeConverter(nameof(properties.RightGrid)); PropertiesTestHelper.AssertRequiredPropertyDescriptorProperties( rightGridProperty, calculationGridsCategory,