-
-
Notifications
You must be signed in to change notification settings - Fork 231
Closed
Labels
Description
The docs mention a CSharpCodeMatcher and show the following usage:
var server = WireMockServer.Start();
server
.Given(Request.Create().WithPath("/cs")
.WithParam("from", new CSharpCodeMatcher("return it == \"x\";")))
.RespondWith(Response.Create()
.WithBody("cs match")
);
But CSharpCodeMatcher
is an internal class, so it can't be new'd up directly like shown above. So how are you actually supposed to use it from code?