public void TestGetString1() { // Arrange string url = "http://a.com"; // Act var value = _fakeHttp.GetString(url); // Assert Assert.True(value == url); }
public void TestGetString2(string url) { // Act var value = _fakeHttp.GetString(url); // Assert (w/ message) Assert.True(value == url, "value should be url"); }