public void GetChildValues()
 {
     XMLService elementTester = new XMLService(new MockXML2());
     CollectionAssert.AreEquivalent(new string[] { "Bar is maximum", "Bar is minimum" }, elementTester.GetChildValues(new string[] { "Applications", "Foo" }, "FooBar"));
 }
 public void GetCorrectElement()
 {
     XMLService elementTester = new XMLService(new MockXML());
     Assert.AreEqual("Bar is maximum", elementTester.GetElementValue(new string[] { "Applications", "Foo", "FooBar" }));
 }
 public void GetAppData()
 {
     XMLService elementTester = new XMLService(new MockXML3());
     Application testApp = elementTester.GetAppData(new string[] { "Applications", "Application" })[0];
     Assert.IsTrue(testApp.DisplayName == "Name");
     Assert.IsTrue(testApp.AppFolder == "Bar is minimum");
     CollectionAssert.AreEquivalent(new string[] { "\\stuff" }, testApp.BUPFiles);
 }