mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-08-20 10:24:13 +02:00
* Fix #1501: Generate WhenStateIs/WillSetStateTo correctly in ToCSharpCode * Fix matcher to code converters. Refactor changes. * Adjust test artifacts. * Return fully qualified class names for matchers
10 lines
464 B
Plaintext
10 lines
464 B
Plaintext
server
|
|
.Given(Request.Create()
|
|
.UsingMethod("GET")
|
|
.WithPath(new WireMock.Matchers.SimMetricsMatcher(WireMock.Matchers.MatchBehaviour.AcceptOnMatch, new AnyOfTypes.AnyOf<string, WireMock.Models.StringPattern>[] { "/a", "/b" }, SimMetrics.Net.SimMetricType.Levenstein, WireMock.Matchers.MatchOperator.Average))
|
|
)
|
|
.WithGuid("8e7b9ab7-e18e-4502-8bc9-11e6679811cc")
|
|
.RespondWith(Response.Create()
|
|
.WithStatusCode(200)
|
|
);
|