withQueryParams function

Matcher withQueryParams(
  1. Matcher queryParams
)

Implementation

Matcher withQueryParams(Matcher queryParams) {
  var queryParamsMatcher =
      isUri().having((u) => u.queryParameters, "queryParameters", queryParams);
  var queryParamsAllMatcher = isUri()
      .having((u) => u.queryParametersAll, "queryParametersAll", queryParams);

  return anyOf(queryParamsMatcher, queryParamsAllMatcher);
}