Ejemplo n.º 1
0
 public void NoSelection()
 {
     const string pre = @"<root></root>";
     const string post = pre;
     const string xpath = "foo";
     var task = new AddPi {Name = "name", Value = "value"};
     Run(pre, post, xpath, task);
 }
Ejemplo n.º 2
0
 public void AddToElementWithoutValue()
 {
     const string pre = @"<root></root>";
     const string post = @"<root><?name ?></root>";
     const string xpath = "root";
     var task = new AddPi {Name = "name"};
     Run(pre, post, xpath, task);
 }