use of com.github.tomakehurst.wiremock.http.Response in project opennms by OpenNMS.
the class AbstractMeasurementQueryExecutorTest method before.
@Before
public void before() throws IOException {
requestList.clear();
// we listen to all requests and verify that the POST data can be parsed as a Query Request
wireMockRule.addMockServiceRequestListener(new RequestListener() {
@Override
public void requestReceived(Request request, Response response) {
requestList.add(LoggedRequest.createFrom(request));
}
});
new File("target/reports").mkdirs();
}
Aggregations