A do-nothing implementation of IPlaceholderTracker.
Inheritance: IPlaceholderTracker
Esempio n. 1
0
        public void InsertPlaceholderCallsFuncAndReturnsTheResult()
        {
            var tracker = new NullPlaceholderTracker();
            var result  = tracker.InsertPlaceholder(() => ("<p></p>"));

            result.ShouldEqual("<p></p>");
        }
Esempio n. 2
0
        public void ReplacePlaceholdersReturnsTheHtmlPassedToIt()
        {
            var tracker = new NullPlaceholderTracker();
            var result  = tracker.ReplacePlaceholders("<p></p>");

            result.ShouldEqual("<p></p>");
        }
 public void ReplacePlaceholdersReturnsTheHtmlPassedToIt()
 {
     var tracker = new NullPlaceholderTracker();
     var result = tracker.ReplacePlaceholders("<p></p>");
     result.ShouldEqual("<p></p>");
 }
 public void InsertPlaceholderCallsFuncAndReturnsTheResult()
 {
     var tracker = new NullPlaceholderTracker();
     var result = tracker.InsertPlaceholder(() => ("<p></p>"));
     result.ShouldEqual("<p></p>");
 }