A do-nothing implementation of IPlaceholderTracker.
상속: 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>");
 }