WithProxy

This commit is contained in:
Stef Heyenrath
2017-05-07 10:01:31 +02:00
parent 7bfd9f3343
commit 2c8142b93d
5 changed files with 6 additions and 6 deletions

View File

@@ -30,11 +30,11 @@ namespace WireMock.Net.Console.NETCoreApp
server
.Given(Request.Create().WithPath("/bbc").UsingGet())
.RespondWith(Response.Create().FromProxyUrl("http://www.bbc.com"));
.RespondWith(Response.Create().WithProxy("http://www.bbc.com"));
server
.Given(Request.Create().WithPath("/google").UsingGet())
.RespondWith(Response.Create().FromProxyUrl("http://www.google.com"));
.RespondWith(Response.Create().WithProxy("http://www.google.com"));
server
.Given(Request.Create().WithPath(p => p.Contains("x")).UsingGet())