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

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