public void ShouldApplyPropertyName()
        {
            BrowsablePropertyAttribute attribute = new BrowsablePropertyAttribute("property");

            Assert.AreEqual <string>("property", attribute.PropertyName);
        }
        public void ShouldAssignBrowsableByDefault()
        {
            BrowsablePropertyAttribute attribute = new BrowsablePropertyAttribute("property");

            Assert.IsTrue(attribute.Browsable);
        }
        public void ShouldApplyWildcard()
        {
            BrowsablePropertyAttribute attribute = new BrowsablePropertyAttribute(false);

            Assert.AreEqual <string>(BrowsablePropertyAttribute.All, attribute.PropertyName);
        }
        public void ShouldReplaceNullWithWildCard()
        {
            BrowsablePropertyAttribute attribute = new BrowsablePropertyAttribute(null);

            Assert.AreEqual <string>(BrowsablePropertyAttribute.All, attribute.PropertyName);
        }
        public void ShouldApplyBrowsableState()
        {
            BrowsablePropertyAttribute attribute = new BrowsablePropertyAttribute(true);

            Assert.IsTrue(attribute.Browsable);
        }