withQueryParams function
Matcher
withQueryParams(
- 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);
}