using System; using Core.Common.Gui.Attributes; using NUnit.Framework; namespace Core.Common.Gui.Test.Attributes { [TestFixture] public class PropertyOrderAttributeTest { [Test] public void ParameteredConstructor_ExpectedValues([Random(int.MinValue, int.MaxValue, 1)] int order) { // Call var attribute = new PropertyOrderAttribute(order); // Assert Assert.IsInstanceOf(attribute); Assert.AreEqual(order, attribute.Order); } } }