Exemplo n.º 1
0
        public void CheckReturnOfTemplate()
        {
            var tag = new Include
            {
                File = new TemplateAttribute(new ParsedTemplate(new FileBasedResourceLocator(), new TextPart("SharpTags\\a.htm", null)))
            };

            tag.Factory = new FileLocatorFactory();
            Assert.That(tag.Evaluate(new TagModel(this)), Is.EqualTo("aa"));
        }