示例#1
0
        public void TestIncludeInvokerCannnotInvokeOnWrongSyntax()
        {
            var include = new IncludeInvoker();

            Assert.IsFalse(include.CanInvoke("{% include nothing %}"));
        }
示例#2
0
        public void TestIncludeInvokerCanInvokeOnRightSyntax()
        {
            var include = new IncludeInvoker();

            Assert.IsTrue(include.CanInvoke("{% include test.html %}"));
        }