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