mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-22 09:09:02 +01:00
.
This commit is contained in:
@@ -34,10 +34,10 @@ namespace WireMock.Net.Tests.RequestBuilders
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void RequestBuilder_WithParam_String_IExactMatcher()
|
||||
public void RequestBuilder_WithParam_String_IStringMatcher()
|
||||
{
|
||||
// Act
|
||||
var requestBuilder = (Request)Request.Create().WithParam("p", new ExactMatcher("v"));
|
||||
var requestBuilder = (Request)Request.Create().WithParam("p", new RegexMatcher("[012]"));
|
||||
|
||||
// Assert
|
||||
var matchers = requestBuilder.GetPrivateFieldValue<IList<IRequestMatcher>>("_requestMatchers");
|
||||
|
||||
Reference in New Issue
Block a user