Exemple #1
0
 public void TestExpectedInput()
 {
     var testNode = StaticHelpers.GetNode("<uppercase>this is a test</uppercase>");
     _tagHandler = new Uppercase(testNode);
     Assert.AreEqual("THIS IS A TEST", _tagHandler.ProcessChange());
 }
Exemple #2
0
 public void TestEmptyInput()
 {
     var testNode = StaticHelpers.GetNode("<uppercase/>");
     _tagHandler = new Uppercase(testNode);
     Assert.AreEqual("", _tagHandler.ProcessChange());
 }