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

            result.ShouldEqual("<p></p>");
        }
コード例 #2
0
        public void ReplacePlaceholdersReturnsTheHtmlPassedToIt()
        {
            var tracker = new NullPlaceholderTracker();
            var result  = tracker.ReplacePlaceholders("<p></p>");

            result.ShouldEqual("<p></p>");
        }
コード例 #3
0
 public void ReplacePlaceholdersReturnsTheHtmlPassedToIt()
 {
     var tracker = new NullPlaceholderTracker();
     var result = tracker.ReplacePlaceholders("<p></p>");
     result.ShouldEqual("<p></p>");
 }
コード例 #4
0
 public void InsertPlaceholderCallsFuncAndReturnsTheResult()
 {
     var tracker = new NullPlaceholderTracker();
     var result = tracker.InsertPlaceholder(() => ("<p></p>"));
     result.ShouldEqual("<p></p>");
 }