WithProxy

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

No files matched your search

@@ -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())