예제 #1
0
 public void Test_ContainsPlaceHolder_PlaceholderAtEnd()
 {
     Assert.IsTrue(PlaceholderResolver.ContainsPlaceholder("some text" + PlaceholderResolver.START + "NAME" + PlaceholderResolver.END));
 }
예제 #2
0
 public void Test_ContainsPlaceHolder_PlaceholderInMiddle()
 {
     Assert.IsTrue(PlaceholderResolver.ContainsPlaceholder("some text" + PlaceholderResolver.START + "NAME" + PlaceholderResolver.END + "some more text"));
 }
예제 #3
0
 public void Test_ContainsPlaceHolder_OnlyAPlaceholder()
 {
     Assert.IsTrue(PlaceholderResolver.ContainsPlaceholder(PlaceholderResolver.START + "NAME" + PlaceholderResolver.END));
 }