コード例 #1
0
ファイル: LocalTest.cs プロジェクト: singba/EppLib.NET
        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
ファイル: LocalTest.cs プロジェクト: CodeMakerInc/EppLib.NET
        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);
        }