Exemple #1
0
 public void ReturnStringXML_GivenitemName_Retrieve()
 {
     formulatrix.Register("item2", "<name>banu</name><email>[email protected]</email><contents>test formulatrix</contents>", 2);
     Assert.Equal("<root><name>banu</name><email>[email protected]</email><contents>test formulatrix</contents></root>", formulatrix.Retrieve("item2"));
 }
Exemple #2
0
 public void ReturnStringXML_GivenitemName_Retrieve()
 {
     formulatrix.Register("item2", "<to>tru3</to><title>Greetings</title><body>Hithere</body>", 2);
     Assert.Equal("<root><to>tru3</to><title>Greetings</title><body>Hithere</body></root>", formulatrix.Retrieve("item2"));
 }