public void VerifyThatCorrectCategoriesAreReturnedForParentRow()
        {
            var rowViewModels = new[] { this.parentRow };

            this.categoryFilterOperatorHandler = new CategoryFilterOperatorHandler(rowViewModels, nameof(CategoryTestRowViewModel.Category));
            var values = this.categoryFilterOperatorHandler.GetValues().ToList();

            Assert.AreEqual(2, values.Count);

            var expected = new[] { CategoryName1, CategoryName2 };

            CollectionAssert.AreEquivalent(expected, values);
        }
        public void VerifyThatSetOperatorsWorks()
        {
            var rowViewModels = new[] { this.parentRow };

            this.categoryFilterOperatorHandler = new CategoryFilterOperatorHandler(rowViewModels, nameof(CategoryTestRowViewModel.Category));
            this.categoryFilterOperatorHandler.SetOperators(this.filterEditorQueryOperatorsEventArgs);

            Assert.AreEqual(2, this.filterEditorOperatorItemList.Count);

            Assert.AreEqual(1,
                            this.filterEditorOperatorItemList.Count(
                                x => x.CustomFunctionName == CategoryFilterOperatorHandler.IsMemberOfCategoryName));

            Assert.AreEqual(1,
                            this.filterEditorOperatorItemList.Count(
                                x => x.CustomFunctionName == CategoryFilterOperatorHandler.HasCategoryApplied));
        }