public void TestHostCheckCommand1() { string expected = File.ReadAllText("HostCheckCommand1.xml"); var command = new HostCheck( new List <string>() { "ns1.example.com", "ns2.example.com", "ns3.example.com" } ); command.TransactionId = "ABC-12345"; Assert.AreEqual(expected, command.ToXml().InnerXml); }
public void TestHostCheckCommand1() { string expected = File.ReadAllText("HostCheckCommand1.xml"); var command = new HostCheck( new List<string>() { "ns1.example.com", "ns2.example.com", "ns3.example.com" } ); command.TransactionId = "ABC-12345"; Assert.AreEqual(expected, command.ToXml().InnerXml); }