Files
WireMock.Net/test/WireMock.Net.Tests/WireMockAdminApiTests.IWireMockAdminApi_GetMappingsCode.verified.txt
2023-05-02 16:48:32 +02:00

25 lines
568 B
Plaintext

var server = WireMockServer.Start();
server
.Given(Request.Create()
.UsingMethod("GET")
.WithPath("/foo1")
.WithParam("p1", "xyz")
)
.WithGuid("90356dba-b36c-469a-a17e-669cd84f1f05")
.RespondWith(Response.Create()
.WithBody("1")
);
server
.Given(Request.Create()
.UsingMethod("GET")
.WithPath("/foo2")
.WithParam("p2", "abc")
)
.WithGuid("1b731398-4a5b-457f-a6e3-d65e541c428f")
.RespondWith(Response.Create()
.WithHeader("hk", "hv")
.WithBody("2")
);