This commit is contained in:
Stef Heyenrath
2018-06-25 19:57:42 +02:00
parent 2eff243a96
commit b5f0e658da
2 changed files with 14 additions and 0 deletions

View File

@@ -38,6 +38,13 @@ namespace WireMock.Net.ConsoleApplication
server.AllowPartialMapping();
server
.Given(Request.Create()
.WithPath("/xpath").UsingPost()
.WithBody(new XPathMatcher("/todo-list[count(todo-item) = 3]"))
)
.RespondWith(Response.Create().WithBody("XPathMatcher!"));
server
.Given(Request
.Create()