public void DeserializeExcludedCategories()
        {
            CategorySelector selector = new CategorySelector();

            selector.Deserialize(SerializedContent2);
            Assert.Contains("blue", selector.ExcludedCategories.ToArray());
            Assert.Equals(1, selector.ExcludedCategories.Count);
        }
        public void DeserializeIncludedCategories()
        {
            CategorySelector selector = new CategorySelector();

            selector.Deserialize(SerializedContent1);
            Assert.Contains("green", selector.IncludedCategories.ToArray());
            Assert.Equals(1, selector.IncludedCategories.Count);
        }
 public void DeserializeExcludedCategories() {
    CategorySelector selector = new CategorySelector();
    selector.Deserialize(SerializedContent2);
    Assert.Contains("blue", selector.ExcludedCategories.ToArray());
    Assert.Equals(1, selector.ExcludedCategories.Count);
 }
 public void DeserializeIncludedCategories() {
    CategorySelector selector = new CategorySelector();
    selector.Deserialize(SerializedContent1);
    Assert.Contains("green", selector.IncludedCategories.ToArray());
    Assert.Equals(1, selector.IncludedCategories.Count);
 }