use of com.github.tomakehurst.wiremock.testsupport.MockHttpResponder in project wiremock by wiremock.
the class AdminRequestHandlerTest method init.
@BeforeEach
public void init() {
httpResponder = new MockHttpResponder();
handler = new AdminRequestHandler(AdminRoutes.defaults(), admin, new BasicResponseRenderer(), new NoAuthenticator(), false, Collections.<RequestFilter>emptyList());
}
use of com.github.tomakehurst.wiremock.testsupport.MockHttpResponder in project wiremock by wiremock.
the class StubRequestHandlerTest method init.
@BeforeEach
public void init() {
stubServer = mock(StubServer.class);
responseRenderer = mock(ResponseRenderer.class);
httpResponder = new MockHttpResponder();
admin = mock(Admin.class);
requestJournal = mock(RequestJournal.class);
requestHandler = new StubRequestHandler(stubServer, responseRenderer, admin, Collections.<String, PostServeAction>emptyMap(), requestJournal, Collections.<RequestFilter>emptyList(), false);
}
Aggregations