示例#1
0
        public void ShouldInstantiateWithDefaultApiUrl()
        {
            var expectedApiUrl = "http://localhost:9001/api/";
            var expected       = new Uri(expectedApiUrl);

            MockRestClient.SetupGet(x => x.BaseUrl).Returns(expected);

            var actual = Subject.ApiUrl;

            Assert.That(actual.AbsoluteUri, Is.EqualTo(expected));
        }