public void GoToThrowsExceptionWithNullPageFactoryTest()
{
var location = new Uri("https://google.com");
var target = Substitute.For<IBrowser>();
Action action = () => target.GoTo<TextPageWrapper>(location, HttpStatusCode.OK, null);
action.ShouldThrow<ArgumentNullException>();
}