Builds a StringLiteralFilterClause with the StringLiteral. See StringLiteralFilterClause for a detailed explanation.
Inheritance: StaticCustomFilter
        public void Test_Construct_WithEmptyConstructo_SetStringLiteralToEmpty()
        {
            //---------------Set up test pack-------------------
            //---------------Assert Precondition----------------

            //---------------Execute Test ----------------------
            var filterClause = new StringLiteralCustomFilter();
            //---------------Test Result -----------------------
            Assert.AreEqual(string.Empty, filterClause.StringLiteral);
        }
        public void Test_Construct_WithStringLiteral_ShouldConstruct()
        {
            //---------------Set up test pack-------------------
            //---------------Assert Precondition----------------

            //---------------Execute Test ----------------------
            var filterClause = new StringLiteralCustomFilter(RandomValueGen.GetRandomString());
            //---------------Test Result -----------------------
            Assert.IsNotNull(filterClause);
        }[Test]
        public void Test_GetFilterClause_ShouldRetStringLiteralFilterClause()
        {
            //---------------Set up test pack-------------------
            var filterClause = new StringLiteralCustomFilter(GetRandomString());
            //---------------Assert Precondition----------------

            //---------------Execute Test ----------------------
            var clause = filterClause.GetFilterClause(new DataViewFilterClauseFactory());
            //---------------Test Result -----------------------
            Assert.IsInstanceOf<StringLiteralFilterClause>(clause );
        }
 public void Test_SetStringLiteral_ShouldWork()
 {
     //---------------Set up test pack-------------------
     var filterClause = new StringLiteralCustomFilter(GetRandomString());
     //---------------Assert Precondition----------------
     //---------------Execute Test ----------------------
     var expectedStringLiteral = GetRandomString();
     filterClause.StringLiteral = expectedStringLiteral;
     //---------------Test Result -----------------------
     Assert.AreEqual(expectedStringLiteral, filterClause.StringLiteral);
 }
        public void Test_GetFilterClauseString_ShouldReturnStringLiteral()
        {
            //---------------Set up test pack-------------------
            var expectedStringLiteral = GetRandomString();
            var filterClause = new StringLiteralCustomFilter(expectedStringLiteral);
            //---------------Assert Precondition----------------

            //---------------Execute Test ----------------------
            var filterClauseString = filterClause.GetFilterClause(new DataViewFilterClauseFactory()).GetFilterClauseString();
            //---------------Test Result -----------------------
            Assert.AreEqual(expectedStringLiteral, filterClauseString);
        }