WireMockList

This commit is contained in:
Stef Heyenrath
2017-01-23 16:00:33 +01:00
parent 32f9171d01
commit b4d5eb18d4
7 changed files with 118 additions and 71 deletions

View File

@@ -3,6 +3,7 @@ using System.Collections.Generic;
using System.Linq;
using WireMock.Matchers;
using WireMock.Matchers.Request;
using WireMock.Util;
namespace WireMock.RequestBuilders
{
@@ -299,7 +300,7 @@ namespace WireMock.RequestBuilders
/// <returns>
/// The <see cref="IRequestMatcher"/>.
/// </returns>
public IRequestMatcher WithParam(Func<IDictionary<string, List<string>>, bool> func)
public IRequestMatcher WithParam(Func<IDictionary<string, WireMockList<string>>, bool> func)
{
_requestMatchers.Add(new RequestMessageParamMatcher(func));
return this;