public void TestNameReplacement()
        {
            var template = Placeholder.ArticlePlaceholder.NamePlaceholder;
            var result   = replacer.Replace(template);

            Assert.AreEqual(testArticle.Description, result);
        }
示例#2
0
 private string ReplaceTemplate(string template)
 {
     return(placeholderReplacer.Replace(template));
 }
示例#3
0
 private void TestReplacement(string placeholder, string expectedValue)
 {
     testValue = replacer.Replace(placeholder);
     Check(expectedValue);
 }