예제 #1
0
        public void TestConcatBothNull()
        {
            var concat = new Concat(new Property("Null"), new Property("Null"));

            Assert.That(concat.Evaluate(new Reflection(this)), Is.EqualTo(string.Empty));
        }
예제 #2
0
        public void TestConcatRhsNotEmptyLhsNull()
        {
            var concat = new Concat(new Property("Null"), new Property("Right"));

            Assert.That(concat.Evaluate(new Reflection(this)), Is.EqualTo("rhs"));
        }
예제 #3
0
        public void TestSimpleConcat()
        {
            var concat = new Concat(new Property("Left"), new Property("Right"));

            Assert.That(concat.Evaluate(new Reflection(this)), Is.EqualTo("lhsrhs"));
        }