Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/PropertyClasses/HydraulicBoundaryLocationDesignWaterLevelPropertiesTest.cs =================================================================== diff -u -rc703acd9b4aa18825e6938815ba975c34949cc6f -r7779966cdf2cc1cbaf00ce0643da3f47f34fa0af --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/PropertyClasses/HydraulicBoundaryLocationDesignWaterLevelPropertiesTest.cs (.../HydraulicBoundaryLocationDesignWaterLevelPropertiesTest.cs) (revision c703acd9b4aa18825e6938815ba975c34949cc6f) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/PropertyClasses/HydraulicBoundaryLocationDesignWaterLevelPropertiesTest.cs (.../HydraulicBoundaryLocationDesignWaterLevelPropertiesTest.cs) (revision 7779966cdf2cc1cbaf00ce0643da3f47f34fa0af) @@ -21,7 +21,9 @@ using System.ComponentModel; using System.Globalization; +using System.Linq; using Core.Common.Base.Geometry; +using Core.Common.Gui.Attributes; using Core.Common.Gui.PropertyBag; using NUnit.Framework; using Rhino.Mocks; @@ -98,24 +100,28 @@ Assert.IsTrue(idProperty.IsBrowsable); Assert.AreEqual(expectedIdDisplayName, idProperty.DisplayName); Assert.AreEqual(expectedIdDescription, idProperty.Description); + Assert.AreEqual(1, idProperty.Attributes.OfType().First().Order); Assert.IsNotNull(nameProperty); Assert.IsTrue(nameProperty.IsReadOnly); Assert.IsTrue(nameProperty.IsBrowsable); Assert.AreEqual(expectedNameDisplayName, nameProperty.DisplayName); Assert.AreEqual(expectedNameDescription, nameProperty.Description); + Assert.AreEqual(2, nameProperty.Attributes.OfType().First().Order); Assert.IsNotNull(locationProperty); Assert.IsTrue(locationProperty.IsReadOnly); Assert.IsTrue(locationProperty.IsBrowsable); Assert.AreEqual(expectedLocationDisplayName, locationProperty.DisplayName); Assert.AreEqual(expectedLocationDescription, locationProperty.Description); + Assert.AreEqual(3, locationProperty.Attributes.OfType().First().Order); Assert.IsNotNull(designWaterLevelProperty); Assert.IsTrue(designWaterLevelProperty.IsReadOnly); Assert.IsTrue(designWaterLevelProperty.IsBrowsable); Assert.AreEqual(expectedDesignWaterLevelDisplayName, designWaterLevelProperty.DisplayName); Assert.AreEqual(expectedDesignWaterLevelDescription, designWaterLevelProperty.Description); + Assert.AreEqual(4, designWaterLevelProperty.Attributes.OfType().First().Order); mockRepository.VerifyAll(); }