### Question:
AbstractHttpCache implements HttpCache { public HttpResponse removeResponse(HttpRequest request) { String keyString = createKey(request); HttpResponse response = getResponseImpl(keyString); removeResponseImpl(keyString); if (responseStillUsable(response)) { return response; } return null; }  HttpResponse getResponse(HttpRequest request); HttpResponse addResponse(HttpRequest request, HttpResponse response); @VisibleForTesting void setRefetchStrictNoCacheAfterMs(long refetchStrictNoCacheAfterMs); HttpResponse removeResponse(HttpRequest request); String createKey(HttpRequest request); @Inject(optional = true) @Named("shindig.cache.http.strict-no-cache-resource.refetch-after-ms")
  static long REFETCH_STRICT_NO_CACHE_AFTER_MS_DEFAULT; }### Answer:
@Test public void removeResponse() { HttpRequest request = new HttpRequest(DEFAULT_URI); String key = cache.createKey(request); HttpResponse response = new HttpResponse("result"); cache.map.put(key, response); assertEquals(response, cache.removeResponse(request)); assertEquals(0, cache.map.size()); }