urls.add(request.getUrl());
}
});
wireMockRule.stubFor(get(urlEqualTo("/test/listener")).willReturn(aResponse().withBody("Listener")));
WireMockTestClient testClient = new WireMockTestClient(8089);
assertThat(testClient.get("/test/listener").content(), is("Listener"));
assertThat(urls.size(), is(1));
assertThat(urls.get(0), is("/test/listener"));
}