UrlModel + Funcs

This commit is contained in:
Stef Heyenrath
2017-02-03 13:54:19 +01:00
parent 84901ab1e4
commit d1aa517f99
17 changed files with 173 additions and 58 deletions

View File

@@ -19,7 +19,7 @@ namespace WireMock.Net.ConsoleApplication
Console.WriteLine("FluentMockServer listening at {0}", string.Join(" and ", server.Urls));
server
.Given(Request.Create().WithPath(u => u.Contains("x")).UsingGet())
.Given(Request.Create().WithPath(p => p.Contains("x")).UsingGet())
.AtPriority(4)
.RespondWith(Response.Create()
.WithStatusCode(200)