public void TestGetSupportedVehicles() { TargetClass = new XmlOperation(); File.Copy(@"InputFiles/ValidFile.xml", TargetClass.XmlPath, true); TargetClass = new XmlOperation(); var SupportedVehicles = TargetClass.GetSupportedVehicles(); Assert.AreNotEqual(SupportedVehicles, null); Assert.AreEqual(SupportedVehicles.Count, 3); Assert.IsTrue(SupportedVehicles.Contains("bike")); Assert.IsTrue(SupportedVehicles.Contains("car")); Assert.IsTrue(SupportedVehicles.Contains("van")); }