Exemplo n.º 1
0
        public void TestServerUri(string address)
        {
            Uri uri = new Uri(address);

            inner.ServerUri().Returns(uri);

            Assert.That(middleware.ServerUri(), Is.EqualTo(uri));

            inner.Received(1).ServerUri();
        }