/// <summary>
 /// Expects that the specified request header contains the given substring.
 /// </summary>
 /// <param name="requestActions">The <see cref="IRequestActions"/> to set up expectation on.</param>
 /// <param name="header">The header name.</param>
 /// <param name="value">The substring that must appear in the header.</param>
 /// <returns>
 /// The <see cref="IRequestActions"/> to set up responses and additional expectations on the request.
 /// </returns>
 public static IRequestActions AndExpectHeaderContains(this IRequestActions requestActions, string header, string value)
 {
     return(requestActions.AndExpect(RequestMatchers.MatchHeaderContains(header, value)));
 }
 /// <summary>
 /// Expects the given request <see cref="HttpMethod"/>.
 /// </summary>
 /// <param name="requestActions">The <see cref="IRequestActions"/> to set up expectation on.</param>
 /// <param name="method">The HTTP method.</param>
 /// <returns>
 /// The <see cref="IRequestActions"/> to set up responses and additional expectations on the request.
 /// </returns>
 public static IRequestActions AndExpectMethod(this IRequestActions requestActions, HttpMethod method)
 {
     return(requestActions.AndExpect(RequestMatchers.MatchMethod(method)));
 }
 /// <summary>
 /// Expects the given request URI.
 /// </summary>
 /// <param name="requestActions">The <see cref="IRequestActions"/> to set up expectation on.</param>
 /// <param name="uri">the request URI.</param>
 /// <returns>
 /// The <see cref="IRequestActions"/> to set up responses and additional expectations on the request.
 /// </returns>
 public static IRequestActions AndExpectUri(this IRequestActions requestActions, Uri uri)
 {
     return(requestActions.AndExpect(RequestMatchers.MatchUri(uri)));
 }
 /// <summary>
 /// Expects that the request body contains the given substring.
 /// </summary>
 /// <param name="requestActions">The <see cref="IRequestActions"/> to set up expectation on.</param>
 /// <param name="body">The request body.</param>
 /// <returns>
 /// The <see cref="IRequestActions"/> to set up responses and additional expectations on the request.
 /// </returns>
 public static IRequestActions AndExpectBodyContains(this IRequestActions requestActions, string body)
 {
     return(requestActions.AndExpect(RequestMatchers.MatchBodyContains(body)));
 }