示例#1
0
        public void Url_Must_Be_Equal_With_ExpectedUrl()
        {
            var instance1 = new CallbackUrl(ExpectedUrl);
            var instance2 = CallbackUrl.Parse(ExpectedUrl);

            CallbackUrl.TryParse(ExpectedUrl, out var instance3);

            Assert.AreEqual(ExpectedUrl, instance1.Url);
            Assert.AreEqual(ExpectedUrl, instance2.Url);
            Assert.AreEqual(ExpectedUrl, instance3.Url);
        }