Esempio n. 1
0
        public void UriFor_RouteDecoratedDto_AbsoluteUri()
        {
            IReturn request = new RouteDecorated();

            Uri u = UriFor(request, Http.Get);

            Assert.That(u.IsAbsoluteUri, Is.True);
            Assert.That(u.LocalPath, Is.EqualTo("/decorated"));
        }
        public void UriFor_RouteDecoratedDto_AbsoluteUri()
        {
            IReturn request = new RouteDecorated();

            Uri u = UriFor(request, Http.Get);

            Assert.That(u.IsAbsoluteUri, Is.True);
            Assert.That(u.LocalPath, Is.EqualTo("/decorated"));
        }