示例#1
0
        public void TestDomainReleaseCommand1()
        {
            string expected = File.ReadAllText("DomainReleaseCommand1.xml");

            var command = new DomainRelease("epp-example.co.uk", "EXAMPLE-TAG");

            command.TransactionId = "ABC-12345";

            Assert.AreEqual(expected, command.ToXml().InnerXml);
        }
示例#2
0
        public void TestDomainReleaseCommand1()
        {
            string expected = File.ReadAllText("DomainReleaseCommand1.xml");

            var command = new DomainRelease("epp-example.co.uk", "EXAMPLE-TAG");
            command.TransactionId = "ABC-12345";
            
            Assert.AreEqual(expected, command.ToXml().InnerXml);
        }