@Test
  public void testServeInvalidatedContentWithFetcherError() throws Exception {
    oauth.httpResponse = CACHEABLE;
    HttpResponse httpResponse = requestPipeline.execute(signedRequest);

    // Invalidate by owner
    service.invalidateUserResources(ImmutableSet.of("OwnerX"), appxToken);

    // Next request returns error
    oauth.httpResponse = HttpResponse.error();
    httpResponse = requestPipeline.execute(signedRequest);
    assertEquals(CACHEABLE, httpResponse);
  }
  public HttpResponse process() {
    HttpResponse httpResponse;

    try {
      initialize();
      Pair<LogoutSuccessResponse, Cookie> result = processInternal();
      httpResponse = HttpResponse.success(result.getLeft(), result.getRight());
    } catch (ServerException e) {
      Shared.logFailedRequest(logger, e);
      httpResponse = HttpResponse.error(e);
    }

    return httpResponse;
  }