public void GoToStaticLocationNavigatesToSpecificLocationTest()
{
var location = new Uri("http://www.somwhere.com");
var expected = new TextPageWrapper();
var target = Substitute.For<IBrowser>();
target.Execute<TextPageWrapper>(
Arg.Is<HttpRequestMessage>(x => x.RequestUri == location && x.Method == HttpMethod.Get),
HttpStatusCode.OK,
Arg.Any<IPageFactory>()).Returns(expected);
var actual = target.GoTo<TextPageWrapper>(location);
actual.Should().BeSameAs(expected);
}