Example #1
0
        public void TestGetString1()
        {
            // Arrange
            string url = "http://a.com";

            // Act
            var value = _fakeHttp.GetString(url);

            // Assert
            Assert.True(value == url);
        }
Example #2
0
        public void TestGetString2(string url)
        {
            // Act
            var value = _fakeHttp.GetString(url);

            // Assert (w/ message)
            Assert.True(value == url, "value should be url");
        }