Summary

Class:WireMock.RequestBuilders.Request
Assembly:WireMock.Net
File(s):C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\RequestBuilders\Request.cs
Covered lines:159
Uncovered lines:55
Coverable lines:214
Total lines:418
Line coverage:74.2%
Branch coverage:87.5%

Metrics

MethodCyclomatic complexity NPath complexity Sequence coverage Branch coverage
Create()0010
GetRequestMessageMatchers()0011
GetRequestMessageMatcher()0011
WithClientIP(...)0010
WithClientIP(...)0010
WithClientIP(...)0010
WithClientIP(...)0010
WithPath(...)0010
WithPath(...)0010
WithPath(...)0010
WithPath(...)0010
WithUrl(...)0010
WithUrl(...)0010
WithUrl(...)0010
WithUrl(...)0010
UsingDelete(...)0010
UsingGet(...)0010
UsingHead(...)0010
UsingPost(...)0010
UsingPatch(...)0010
UsingPut(...)0010
UsingAnyMethod()000.6250.75
UsingAnyVerb()0000
UsingMethod(...)0010
UsingVerb(...)0000
UsingMethod(...)0010
WithBody(...)0010
WithBody(...)0010
WithBody(...)0010
WithBody(...)0010
WithBody(...)0010
WithBody(...)0010
WithBody(...)0010
WithParam(...)0000
WithParam(...)0010
WithParam(...)0000
WithParam(...)0010
WithParam(...)0000
WithParam(...)0010
WithHeader(...)0000
WithHeader(...)0010
WithHeader(...)0000
WithHeader(...)0000
WithHeader(...)0000
WithHeader(...)0000
WithCookie(...)0010
WithCookie(...)0000
WithCookie(...)0000
.ctor(...)0010

File(s)

C:\Users\azureuser\Documents\Github\WireMock.Net\src\WireMock.Net\RequestBuilders\Request.cs

#LineLine coverage
 1using System;
 2using System.Collections.Generic;
 3using System.Collections.ObjectModel;
 4using System.Linq;
 5using WireMock.Matchers;
 6using WireMock.Matchers.Request;
 7using WireMock.Util;
 8using WireMock.Validation;
 9
 10namespace WireMock.RequestBuilders
 11{
 12    /// <summary>
 13    /// The requests.
 14    /// </summary>
 15    public class Request : RequestMessageCompositeMatcher, IRequestBuilder
 16    {
 17        private readonly IList<IRequestMatcher> _requestMatchers;
 18
 19        /// <summary>
 20        /// Creates this instance.
 21        /// </summary>
 22        /// <returns>The <see cref="IRequestBuilder"/>.</returns>
 23        public static IRequestBuilder Create()
 25324        {
 25325            return new Request(new List<IRequestMatcher>());
 25326        }
 27
 28        /// <summary>
 29        /// Initializes a new instance of the <see cref="Request"/> class.
 30        /// </summary>
 31        /// <param name="requestMatchers">The request matchers.</param>
 25332        private Request(IList<IRequestMatcher> requestMatchers) : base(requestMatchers)
 25333        {
 25334            _requestMatchers = requestMatchers;
 25335        }
 36
 37        /// <summary>
 38        /// Gets the request message matchers.
 39        /// </summary>
 40        /// <typeparam name="T">Type of IRequestMatcher</typeparam>
 41        /// <returns>A List{T}</returns>
 42        public IList<T> GetRequestMessageMatchers<T>() where T : IRequestMatcher
 1243        {
 1844            return new ReadOnlyCollection<T>(_requestMatchers.Where(rm => rm is T).Cast<T>().ToList());
 1245        }
 46
 47        /// <summary>
 48        /// Gets the request message matcher.
 49        /// </summary>
 50        /// <typeparam name="T">Type of IRequestMatcher</typeparam>
 51        /// <returns>A RequestMatcher</returns>
 52        public T GetRequestMessageMatcher<T>() where T : IRequestMatcher
 453        {
 654            return _requestMatchers.Where(rm => rm is T).Cast<T>().FirstOrDefault();
 455        }
 56
 57        /// <inheritdoc cref="IClientIPRequestBuilder.WithClientIP(IStringMatcher[])"/>
 58        public IRequestBuilder WithClientIP(params IStringMatcher[] matchers)
 159        {
 160            Check.NotNullOrEmpty(matchers, nameof(matchers));
 61
 162            _requestMatchers.Add(new RequestMessageClientIPMatcher(matchers));
 163            return this;
 164        }
 65
 66        /// <inheritdoc cref="IClientIPRequestBuilder.WithClientIP(string[])"/>
 67        public IRequestBuilder WithClientIP(params string[] clientIPs)
 268        {
 269            return WithClientIP(MatchBehaviour.AcceptOnMatch, clientIPs);
 270        }
 71
 72        /// <inheritdoc cref="IClientIPRequestBuilder.WithClientIP(string[])"/>
 73        public IRequestBuilder WithClientIP(MatchBehaviour matchBehaviour, params string[] clientIPs)
 274        {
 275            Check.NotNullOrEmpty(clientIPs, nameof(clientIPs));
 76
 277            _requestMatchers.Add(new RequestMessageClientIPMatcher(matchBehaviour, clientIPs));
 278            return this;
 279        }
 80
 81        /// <inheritdoc cref="IClientIPRequestBuilder.WithClientIP(Func{string, bool}[])"/>
 82        public IRequestBuilder WithClientIP(params Func<string, bool>[] funcs)
 183        {
 184            Check.NotNullOrEmpty(funcs, nameof(funcs));
 85
 186            _requestMatchers.Add(new RequestMessageClientIPMatcher(funcs));
 187            return this;
 188        }
 89
 90        /// <inheritdoc cref="IUrlAndPathRequestBuilder.WithPath(IStringMatcher[])"/>
 91        public IRequestBuilder WithPath(params IStringMatcher[] matchers)
 5292        {
 5293            Check.NotNullOrEmpty(matchers, nameof(matchers));
 94
 5295            _requestMatchers.Add(new RequestMessagePathMatcher(matchers));
 5296            return this;
 5297        }
 98
 99        /// <inheritdoc cref="IUrlAndPathRequestBuilder.WithPath(string[])"/>
 100        public IRequestBuilder WithPath(params string[] paths)
 166101        {
 166102            return WithPath(MatchBehaviour.AcceptOnMatch, paths);
 166103        }
 104
 105        /// <inheritdoc cref="IUrlAndPathRequestBuilder.WithPath(MatchBehaviour, string[])"/>
 106        public IRequestBuilder WithPath(MatchBehaviour matchBehaviour, params string[] paths)
 166107        {
 166108            Check.NotNullOrEmpty(paths, nameof(paths));
 109
 166110            _requestMatchers.Add(new RequestMessagePathMatcher(matchBehaviour, paths));
 166111            return this;
 166112        }
 113
 114        /// <inheritdoc cref="IUrlAndPathRequestBuilder.WithPath(Func{string, bool}[])"/>
 115        public IRequestBuilder WithPath(params Func<string, bool>[] funcs)
 1116        {
 1117            Check.NotNullOrEmpty(funcs, nameof(funcs));
 118
 1119            _requestMatchers.Add(new RequestMessagePathMatcher(funcs));
 1120            return this;
 1121        }
 122
 123        /// <inheritdoc cref="IUrlAndPathRequestBuilder.WithUrl(IStringMatcher[])"/>
 124        public IRequestBuilder WithUrl(params IStringMatcher[] matchers)
 1125        {
 1126            Check.NotNullOrEmpty(matchers, nameof(matchers));
 127
 1128            _requestMatchers.Add(new RequestMessageUrlMatcher(matchers));
 1129            return this;
 1130        }
 131
 132        /// <inheritdoc cref="IUrlAndPathRequestBuilder.WithUrl(string[])"/>
 133        public IRequestBuilder WithUrl(params string[] urls)
 1134        {
 1135            return WithUrl(MatchBehaviour.AcceptOnMatch, urls);
 1136        }
 137
 138        /// <inheritdoc cref="IUrlAndPathRequestBuilder.WithUrl(MatchBehaviour, string[])"/>
 139        public IRequestBuilder WithUrl(MatchBehaviour matchBehaviour, params string[] urls)
 1140        {
 1141            Check.NotNullOrEmpty(urls, nameof(urls));
 142
 1143            _requestMatchers.Add(new RequestMessageUrlMatcher(matchBehaviour, urls));
 1144            return this;
 1145        }
 146
 147        /// <inheritdoc cref="IUrlAndPathRequestBuilder.WithUrl(Func{string, bool}[])"/>
 148        public IRequestBuilder WithUrl(params Func<string, bool>[] funcs)
 1149        {
 1150            Check.NotNullOrEmpty(funcs, nameof(funcs));
 151
 1152            _requestMatchers.Add(new RequestMessageUrlMatcher(funcs));
 1153            return this;
 1154        }
 155
 156        /// <inheritdoc cref="IMethodRequestBuilder.UsingDelete(MatchBehaviour)"/>
 157        public IRequestBuilder UsingDelete(MatchBehaviour matchBehaviour = MatchBehaviour.AcceptOnMatch)
 41158        {
 41159            _requestMatchers.Add(new RequestMessageMethodMatcher(matchBehaviour, "delete"));
 41160            return this;
 41161        }
 162
 163        /// <inheritdoc cref="IMethodRequestBuilder.UsingGet(MatchBehaviour)"/>
 164        public IRequestBuilder UsingGet(MatchBehaviour matchBehaviour = MatchBehaviour.AcceptOnMatch)
 76165        {
 76166            _requestMatchers.Add(new RequestMessageMethodMatcher(matchBehaviour, "get"));
 76167            return this;
 76168        }
 169
 170        /// <inheritdoc cref="IMethodRequestBuilder.UsingHead(MatchBehaviour)"/>
 171        public IRequestBuilder UsingHead(MatchBehaviour matchBehaviour = MatchBehaviour.AcceptOnMatch)
 1172        {
 1173            _requestMatchers.Add(new RequestMessageMethodMatcher(matchBehaviour, "head"));
 1174            return this;
 1175        }
 176
 177        /// <inheritdoc cref="IMethodRequestBuilder.UsingPost(MatchBehaviour)"/>
 178        public IRequestBuilder UsingPost(MatchBehaviour matchBehaviour = MatchBehaviour.AcceptOnMatch)
 50179        {
 50180            _requestMatchers.Add(new RequestMessageMethodMatcher(matchBehaviour, "post"));
 50181            return this;
 50182        }
 183
 184        /// <inheritdoc cref="IMethodRequestBuilder.UsingPatch(MatchBehaviour)"/>
 185        public IRequestBuilder UsingPatch(MatchBehaviour matchBehaviour = MatchBehaviour.AcceptOnMatch)
 1186        {
 1187            _requestMatchers.Add(new RequestMessageMethodMatcher(matchBehaviour, "patch"));
 1188            return this;
 1189        }
 190
 191        /// <inheritdoc cref="IMethodRequestBuilder.UsingPut(MatchBehaviour)"/>
 192        public IRequestBuilder UsingPut(MatchBehaviour matchBehaviour = MatchBehaviour.AcceptOnMatch)
 11193        {
 11194            _requestMatchers.Add(new RequestMessageMethodMatcher(matchBehaviour, "put"));
 11195            return this;
 11196        }
 197
 198        /// <inheritdoc cref="IMethodRequestBuilder.UsingAnyMethod"/>
 199        public IRequestBuilder UsingAnyMethod()
 25200        {
 28201            var matchers = _requestMatchers.Where(m => m is RequestMessageMethodMatcher).ToList();
 75202            foreach (var matcher in matchers)
 0203            {
 0204                _requestMatchers.Remove(matcher);
 0205            }
 206
 25207            return this;
 25208        }
 209
 210        /// <inheritdoc cref="IMethodRequestBuilder.UsingAnyVerb"/>
 211        public IRequestBuilder UsingAnyVerb()
 0212        {
 0213            return UsingAnyMethod();
 0214        }
 215
 216        /// <inheritdoc cref="IMethodRequestBuilder.UsingMethod(string[])"/>
 217        public IRequestBuilder UsingMethod(params string[] methods)
 20218        {
 20219            return UsingMethod(MatchBehaviour.AcceptOnMatch, methods);
 20220        }
 221
 222        /// <inheritdoc cref="IMethodRequestBuilder.UsingVerb(string[])"/>
 223        public IRequestBuilder UsingVerb(params string[] verbs)
 0224        {
 0225            return UsingMethod(verbs);
 0226        }
 227
 228        /// <inheritdoc cref="IMethodRequestBuilder.UsingMethod(MatchBehaviour, string[])"/>
 229        public IRequestBuilder UsingMethod(MatchBehaviour matchBehaviour, params string[] methods)
 20230        {
 20231            Check.NotNullOrEmpty(methods, nameof(methods));
 232
 20233            _requestMatchers.Add(new RequestMessageMethodMatcher(matchBehaviour, methods));
 20234            return this;
 20235        }
 236
 237        /// <inheritdoc cref="IBodyRequestBuilder.WithBody(string, MatchBehaviour)"/>
 238        public IRequestBuilder WithBody(string body, MatchBehaviour matchBehaviour = MatchBehaviour.AcceptOnMatch)
 2239        {
 2240            _requestMatchers.Add(new RequestMessageBodyMatcher(matchBehaviour, body));
 2241            return this;
 2242        }
 243
 244        /// <inheritdoc cref="IBodyRequestBuilder.WithBody(byte[], MatchBehaviour)"/>
 245        public IRequestBuilder WithBody(byte[] body, MatchBehaviour matchBehaviour = MatchBehaviour.AcceptOnMatch)
 1246        {
 1247            _requestMatchers.Add(new RequestMessageBodyMatcher(matchBehaviour, body));
 1248            return this;
 1249        }
 250
 251        /// <inheritdoc cref="IBodyRequestBuilder.WithBody(object, MatchBehaviour)"/>
 252        public IRequestBuilder WithBody(object body, MatchBehaviour matchBehaviour = MatchBehaviour.AcceptOnMatch)
 1253        {
 1254            _requestMatchers.Add(new RequestMessageBodyMatcher(matchBehaviour, body));
 1255            return this;
 1256        }
 257
 258        /// <inheritdoc cref="IBodyRequestBuilder.WithBody(IMatcher)"/>
 259        public IRequestBuilder WithBody(IMatcher matcher)
 20260        {
 20261            Check.NotNull(matcher, nameof(matcher));
 262
 20263            _requestMatchers.Add(new RequestMessageBodyMatcher(matcher));
 20264            return this;
 20265        }
 266
 267        /// <inheritdoc cref="IBodyRequestBuilder.WithBody(Func{string, bool})"/>
 268        public IRequestBuilder WithBody(Func<string, bool> func)
 1269        {
 1270            Check.NotNull(func, nameof(func));
 271
 1272            _requestMatchers.Add(new RequestMessageBodyMatcher(func));
 1273            return this;
 1274        }
 275
 276        /// <inheritdoc cref="IBodyRequestBuilder.WithBody(Func{byte[], bool})"/>
 277        public IRequestBuilder WithBody(Func<byte[], bool> func)
 1278        {
 1279            Check.NotNull(func, nameof(func));
 280
 1281            _requestMatchers.Add(new RequestMessageBodyMatcher(func));
 1282            return this;
 1283        }
 284
 285        /// <inheritdoc cref="IBodyRequestBuilder.WithBody(Func{object, bool})"/>
 286        public IRequestBuilder WithBody(Func<object, bool> func)
 1287        {
 1288            Check.NotNull(func, nameof(func));
 289
 1290            _requestMatchers.Add(new RequestMessageBodyMatcher(func));
 1291            return this;
 1292        }
 293
 294        /// <inheritdoc cref="IParamsRequestBuilder.WithParam(string, MatchBehaviour)"/>
 295        public IRequestBuilder WithParam(string key, MatchBehaviour matchBehaviour = MatchBehaviour.AcceptOnMatch)
 0296        {
 0297            Check.NotNull(key, nameof(key));
 298
 0299            _requestMatchers.Add(new RequestMessageParamMatcher(matchBehaviour, key));
 0300            return this;
 0301        }
 302
 303        /// <inheritdoc cref="IParamsRequestBuilder.WithParam(string, string[])"/>
 304        public IRequestBuilder WithParam(string key, params string[] values)
 2305        {
 2306            return WithParam(key, MatchBehaviour.AcceptOnMatch, values);
 2307        }
 308
 309        /// <inheritdoc cref="IParamsRequestBuilder.WithParam(string, IStringMatcher[])"/>
 310        public IRequestBuilder WithParam(string key, params IStringMatcher[] matchers)
 0311        {
 0312            return WithParam(key, MatchBehaviour.AcceptOnMatch, matchers);
 0313        }
 314
 315        /// <inheritdoc cref="IParamsRequestBuilder.WithParam(string, MatchBehaviour, string[])"/>
 316        public IRequestBuilder WithParam(string key, MatchBehaviour matchBehaviour, params string[] values)
 2317        {
 2318            Check.NotNull(key, nameof(key));
 319
 2320            _requestMatchers.Add(new RequestMessageParamMatcher(matchBehaviour, key, values));
 2321            return this;
 2322        }
 323
 324        /// <inheritdoc cref="IParamsRequestBuilder.WithParam(string, MatchBehaviour, IStringMatcher[])"/>
 325        public IRequestBuilder WithParam(string key, MatchBehaviour matchBehaviour, params IStringMatcher[] matchers)
 0326        {
 0327            Check.NotNull(key, nameof(key));
 328
 0329            _requestMatchers.Add(new RequestMessageParamMatcher(matchBehaviour, key, matchers));
 0330            return this;
 0331        }
 332
 333        /// <inheritdoc cref="IParamsRequestBuilder.WithParam(Func{IDictionary{string, WireMockList{string}}, bool}[])"/
 334        public IRequestBuilder WithParam(params Func<IDictionary<string, WireMockList<string>>, bool>[] funcs)
 1335        {
 1336            Check.NotNullOrEmpty(funcs, nameof(funcs));
 337
 1338            _requestMatchers.Add(new RequestMessageParamMatcher(funcs));
 1339            return this;
 1340        }
 341
 342        /// <inheritdoc cref="IHeadersAndCookiesRequestBuilder.WithHeader(string, string, MatchBehaviour)"/>
 343        public IRequestBuilder WithHeader(string name, string pattern, MatchBehaviour matchBehaviour)
 0344        {
 0345            return WithHeader(name, pattern, true, matchBehaviour);
 0346        }
 347
 348        /// <inheritdoc cref="IHeadersAndCookiesRequestBuilder.WithHeader(string, string, bool, MatchBehaviour)"/>
 349        public IRequestBuilder WithHeader(string name, string pattern, bool ignoreCase = true, MatchBehaviour matchBehav
 28350        {
 28351            Check.NotNull(name, nameof(name));
 28352            Check.NotNull(pattern, nameof(pattern));
 353
 28354            _requestMatchers.Add(new RequestMessageHeaderMatcher(matchBehaviour, name, pattern, ignoreCase));
 28355            return this;
 28356        }
 357
 358        /// <inheritdoc cref="IHeadersAndCookiesRequestBuilder.WithHeader(string, string[], MatchBehaviour)"/>
 359        public IRequestBuilder WithHeader(string name, string[] patterns, MatchBehaviour matchBehaviour)
 0360        {
 0361            return WithHeader(name, patterns, true, matchBehaviour);
 0362        }
 363
 364        /// <inheritdoc cref="IHeadersAndCookiesRequestBuilder.WithHeader(string, string[], bool, MatchBehaviour)"/>
 365        public IRequestBuilder WithHeader(string name, string[] patterns, bool ignoreCase = true, MatchBehaviour matchBe
 0366        {
 0367            Check.NotNull(name, nameof(name));
 0368            Check.NotNull(patterns, nameof(patterns));
 369
 0370            _requestMatchers.Add(new RequestMessageHeaderMatcher(matchBehaviour, name, patterns, ignoreCase));
 0371            return this;
 0372        }
 373
 374        /// <inheritdoc cref="IHeadersAndCookiesRequestBuilder.WithHeader(string, IStringMatcher[])"/>
 375        public IRequestBuilder WithHeader(string name, params IStringMatcher[] matchers)
 0376        {
 0377            Check.NotNull(name, nameof(name));
 0378            Check.NotNullOrEmpty(matchers, nameof(matchers));
 379
 0380            _requestMatchers.Add(new RequestMessageHeaderMatcher(name, matchers));
 0381            return this;
 0382        }
 383
 384        /// <inheritdoc cref="IHeadersAndCookiesRequestBuilder.WithHeader(Func{IDictionary{string, string[]}, bool}[])"/
 385        public IRequestBuilder WithHeader(params Func<IDictionary<string, string[]>, bool>[] funcs)
 0386        {
 0387            Check.NotNullOrEmpty(funcs, nameof(funcs));
 388
 0389            _requestMatchers.Add(new RequestMessageHeaderMatcher(funcs));
 0390            return this;
 0391        }
 392
 393        /// <inheritdoc cref="IHeadersAndCookiesRequestBuilder.WithCookie(string, string, bool, MatchBehaviour)"/>
 394        public IRequestBuilder WithCookie(string name, string pattern, bool ignoreCase = true, MatchBehaviour matchBehav
 1395        {
 1396            _requestMatchers.Add(new RequestMessageCookieMatcher(matchBehaviour, name, pattern, ignoreCase));
 1397            return this;
 1398        }
 399
 400        /// <inheritdoc cref="IHeadersAndCookiesRequestBuilder.WithCookie(string, IStringMatcher[])"/>
 401        public IRequestBuilder WithCookie(string name, params IStringMatcher[] matchers)
 0402        {
 0403            Check.NotNullOrEmpty(matchers, nameof(matchers));
 404
 0405            _requestMatchers.Add(new RequestMessageCookieMatcher(name, matchers));
 0406            return this;
 0407        }
 408
 409        /// <inheritdoc cref="IHeadersAndCookiesRequestBuilder.WithCookie(Func{IDictionary{string, string}, bool}[])"/>
 410        public IRequestBuilder WithCookie(params Func<IDictionary<string, string>, bool>[] funcs)
 0411        {
 0412            Check.NotNullOrEmpty(funcs, nameof(funcs));
 413
 0414            _requestMatchers.Add(new RequestMessageCookieMatcher(funcs));
 0415            return this;
 0416        }
 417    }
 418}

Methods/Properties

Create()
.ctor(System.Collections.Generic.IList`1<WireMock.Matchers.Request.IRequestMatcher>)
GetRequestMessageMatchers()
GetRequestMessageMatcher()
WithClientIP(WireMock.Matchers.IStringMatcher[])
WithClientIP(System.String[])
WithClientIP(WireMock.Matchers.MatchBehaviour,System.String[])
WithClientIP(System.Func`2<System.String,System.Boolean>[])
WithPath(WireMock.Matchers.IStringMatcher[])
WithPath(System.String[])
WithPath(WireMock.Matchers.MatchBehaviour,System.String[])
WithPath(System.Func`2<System.String,System.Boolean>[])
WithUrl(WireMock.Matchers.IStringMatcher[])
WithUrl(System.String[])
WithUrl(WireMock.Matchers.MatchBehaviour,System.String[])
WithUrl(System.Func`2<System.String,System.Boolean>[])
UsingDelete(WireMock.Matchers.MatchBehaviour)
UsingGet(WireMock.Matchers.MatchBehaviour)
UsingHead(WireMock.Matchers.MatchBehaviour)
UsingPost(WireMock.Matchers.MatchBehaviour)
UsingPatch(WireMock.Matchers.MatchBehaviour)
UsingPut(WireMock.Matchers.MatchBehaviour)
UsingAnyMethod()
UsingAnyVerb()
UsingMethod(System.String[])
UsingVerb(System.String[])
UsingMethod(WireMock.Matchers.MatchBehaviour,System.String[])
WithBody(System.String,WireMock.Matchers.MatchBehaviour)
WithBody(System.Byte[],WireMock.Matchers.MatchBehaviour)
WithBody(System.Object,WireMock.Matchers.MatchBehaviour)
WithBody(WireMock.Matchers.IMatcher)
WithBody(System.Func`2<System.String,System.Boolean>)
WithBody(System.Func`2<System.Byte[],System.Boolean>)
WithBody(System.Func`2<System.Object,System.Boolean>)
WithParam(System.String,WireMock.Matchers.MatchBehaviour)
WithParam(System.String,System.String[])
WithParam(System.String,WireMock.Matchers.IStringMatcher[])
WithParam(System.String,WireMock.Matchers.MatchBehaviour,System.String[])
WithParam(System.String,WireMock.Matchers.MatchBehaviour,WireMock.Matchers.IStringMatcher[])
WithParam(System.Func`2<System.Collections.Generic.IDictionary`2<System.String,WireMock.Util.WireMockList`1<System.String>>,System.Boolean>[])
WithHeader(System.String,System.String,WireMock.Matchers.MatchBehaviour)
WithHeader(System.String,System.String,System.Boolean,WireMock.Matchers.MatchBehaviour)
WithHeader(System.String,System.String[],WireMock.Matchers.MatchBehaviour)
WithHeader(System.String,System.String[],System.Boolean,WireMock.Matchers.MatchBehaviour)
WithHeader(System.String,WireMock.Matchers.IStringMatcher[])
WithHeader(System.Func`2<System.Collections.Generic.IDictionary`2<System.String,System.String[]>,System.Boolean>[])
WithCookie(System.String,System.String,System.Boolean,WireMock.Matchers.MatchBehaviour)
WithCookie(System.String,WireMock.Matchers.IStringMatcher[])
WithCookie(System.Func`2<System.Collections.Generic.IDictionary`2<System.String,System.String>,System.Boolean>[])