RejectOnMatch (wip)

This commit is contained in:
Stef Heyenrath
2018-05-06 10:40:42 +02:00
parent e7319a202a
commit ca5056aed3
10 changed files with 35 additions and 7 deletions

View File

@@ -153,6 +153,7 @@ namespace WireMock.Net.ConsoleApplication
server
.Given(Request.Create()
.WithPath("/reject")
.UsingGet()
.WithHeader("x", "1", MatchBehaviour.RejectOnMatch)
.UsingAnyMethod())
.RespondWith(Response.Create()