public void GetHttpMethodOverrideWithNullRequestThrows() {
     // Act & Assert
     ExceptionHelper.ExpectArgumentNullException(
         delegate {
             HttpRequestExtensions.GetHttpMethodOverride(null);
         }, "request");
 }
 public void GetHttpMethodOverrideWithNullRequestThrows()
 {
     // Act & Assert
     Assert.ThrowsArgumentNull(
         () => HttpRequestExtensions.GetHttpMethodOverride(null),
         "request"
         );
 }