Index: Ringtoets/Asphalt/test/Ringtoets.Asphalt.Plugin.Test/WaveImpactAsphaltCoverPluginTest.cs =================================================================== diff -u -r1d1714a744afa41c6da4d755e44d16f4dca7a355 -rc43715cf3e6dce0c427b10c4852d5ae54e6d668d --- Ringtoets/Asphalt/test/Ringtoets.Asphalt.Plugin.Test/WaveImpactAsphaltCoverPluginTest.cs (.../WaveImpactAsphaltCoverPluginTest.cs) (revision 1d1714a744afa41c6da4d755e44d16f4dca7a355) +++ Ringtoets/Asphalt/test/Ringtoets.Asphalt.Plugin.Test/WaveImpactAsphaltCoverPluginTest.cs (.../WaveImpactAsphaltCoverPluginTest.cs) (revision c43715cf3e6dce0c427b10c4852d5ae54e6d668d) @@ -30,6 +30,7 @@ using Ringtoets.Asphalt.Forms.PropertyClasses; using Ringtoets.Asphalt.Forms.Views; using Ringtoets.Common.Forms.PresentationObjects; +using GuiTestHelper = Core.Common.Gui.TestUtil.GuiTestHelper; using RingtoetsCommonFormsResources = Ringtoets.Common.Forms.Properties.Resources; namespace Ringtoets.Asphalt.Plugin.Test @@ -60,8 +61,9 @@ // Assert Assert.AreEqual(1, propertyInfos.Length); - var waveImpactAsphaltCoverResultViewInfo = propertyInfos.Single(vi => vi.DataType == typeof(WaveImpactAsphaltCoverFailureMechanismContext)); - Assert.AreEqual(typeof(WaveImpactAsphaltCoverFailureMechanismContextProperties), waveImpactAsphaltCoverResultViewInfo.PropertyObjectType); + GuiTestHelper.AssertPropertyInfoDefined< + WaveImpactAsphaltCoverFailureMechanismContext, + WaveImpactAsphaltCoverFailureMechanismContextProperties>(propertyInfos); } }