mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-03-21 08:59:50 +01:00
RejectOnMatch (wip)
This commit is contained in:
@@ -153,6 +153,7 @@ namespace WireMock.Net.ConsoleApplication
|
||||
server
|
||||
.Given(Request.Create()
|
||||
.WithPath("/reject")
|
||||
.UsingGet()
|
||||
.WithHeader("x", "1", MatchBehaviour.RejectOnMatch)
|
||||
.UsingAnyMethod())
|
||||
.RespondWith(Response.Create()
|
||||
|
||||
Reference in New Issue
Block a user