private void addRenderStackMetaDataResponse() {
   final String requestPath = getRenderStackRequestPath();
   final StackMetaData stackMetaData = new StackMetaData(acquireStackId, null);
   stackMetaData.setState(StackMetaData.StackState.LOADING);
   final JsonBody responseBody = json(stackMetaData.toJson());
   mockServer
       .when(HttpRequest.request().withMethod("GET").withPath(requestPath), Times.once())
       .respond(
           HttpResponse.response()
               .withStatusCode(HttpStatus.SC_OK)
               .withHeader("Content-Type", responseBody.getContentType())
               .withBody(responseBody));
 }
  private void addAcqNextTileResponse(final AcquisitionTileList acquisitionTileList) {

    final JsonBody responseBody = json(acquisitionTileList.toJson());

    mockServer
        .when(
            HttpRequest.request()
                .withMethod("POST")
                .withPath(getBaseAcquisitionPath() + "/next-tile"),
            Times.once())
        .respond(
            HttpResponse.response()
                .withStatusCode(HttpStatus.SC_OK)
                .withHeader("Content-Type", responseBody.getContentType())
                .withBody(responseBody));
  }