public void TestNameReplacement() { var template = Placeholder.ArticlePlaceholder.NamePlaceholder; var result = replacer.Replace(template); Assert.AreEqual(testArticle.Description, result); }
private string ReplaceTemplate(string template) { return(placeholderReplacer.Replace(template)); }
private void TestReplacement(string placeholder, string expectedValue) { testValue = replacer.Replace(placeholder); Check(expectedValue); }