public void GoToThrowsExceptionWithNullLocationTest() { var target = Substitute.For<IBrowser>(); Action action = () => target.GoTo(null); action.ShouldThrow<ArgumentNullException>(); }