public void ShouldReplaceNullWithWildcard()
 {
     BrowsableCategoryAttribute attribute = new BrowsableCategoryAttribute(null, true);
       Assert.AreEqual<string>(BrowsableCategoryAttribute.All, attribute.CategoryName);
 }
 public void ShouldAssignBrowsableByDefault()
 {
     BrowsableCategoryAttribute attribute = new BrowsableCategoryAttribute("category");
       Assert.IsTrue(attribute.Browsable);
 }
 public void ShouldApplyCategoryName()
 {
     BrowsableCategoryAttribute attribute = new BrowsableCategoryAttribute("category");
       Assert.AreEqual<string>("category", attribute.CategoryName);
 }
 public void ShouldApplyDefaultWildcard()
 {
     BrowsableCategoryAttribute attribute = new BrowsableCategoryAttribute(true);
       Assert.AreEqual<string>(BrowsableCategoryAttribute.All, attribute.CategoryName);
 }
 public void ShouldApplyBrowsableState()
 {
     BrowsableCategoryAttribute attribute = new BrowsableCategoryAttribute(true);
       Assert.IsTrue(attribute.Browsable);
 }