public void Ctor_Category(string category, bool expectedIsDefaultAttribute)
        {
            var attribute = new CategoryAttribute(category);

            Assert.Equal(category, attribute.Category);
            Assert.Equal(expectedIsDefaultAttribute, attribute.IsDefaultAttribute());
        }
        public void IsDefaultAttribute_NullCategory_ThrowsNullReferenceException()
        {
            var attribute = new CategoryAttribute(null);

            Assert.Null(attribute.Category);
            Assert.Throws <NullReferenceException>(() => attribute.IsDefaultAttribute());
        }
        public void Ctor_Default()
        {
            var attribute = new CategoryAttribute();

            Assert.Equal("Misc", attribute.Category);
            Assert.True(attribute.IsDefaultAttribute());
        }