public void Ctor()
        {
            DisplayEnumAttribute attribute = new DisplayEnumAttribute();

            Assert.Null(attribute.Name);
            Assert.Null(attribute.GetName());

            Assert.Null(attribute.ResourceType);
        }
        public void Name_Get_Set(string value)
        {
            DisplayEnumAttribute attribute = new DisplayEnumAttribute();

            attribute.Name = value;

            Assert.Equal(value, attribute.Name);
            Assert.Equal(value == null, attribute.GetName() == null);

            // Set again, to cover the setter avoiding operations if the value is the same
            attribute.Name = value;
            Assert.Equal(value, attribute.Name);
        }