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