public void TestCreateFilterShouldCreateStringFilterIfColumnDoesNotHasNulls()
        {
            var column = new ColumnBuilder()
                         .WithValue("test")
                         .Build();
            var root   = new StringFilterTreeRoot(string.Empty, column);
            var result = root.CreateFilter();

            Assert.That(result is StringFilter);
        }
        public void TestCreateFilterShouldCreateNullableStringFilterIfColumnHasNulls()
        {
            var column = new ColumnBuilder()
                         .WithNulls()
                         .Build();
            var root   = new StringFilterTreeRoot(string.Empty, column);
            var result = (StringFilter)root.CreateFilter();

            Assert.That(result.Value, Is.EqualTo(string.Empty));
            Assert.That(result.IncludeNull, Is.True);
        }