### Question:
HttpResponseBuilder extends MutableContent { public HttpResponseBuilder setStrictNoCache() { headers.replaceValues("Cache-Control", NO_CACHE_HEADER); headers.replaceValues("Pragma", NO_CACHE_HEADER); headers.removeAll("Expires"); incrementNumChanges(); return this; } HttpResponseBuilder(GadgetHtmlParser parser, HttpResponse response);  HttpResponseBuilder();  HttpResponseBuilder(HttpResponseBuilder builder);  HttpResponseBuilder(HttpResponse response); HttpResponse create(); HttpResponseBuilder setResponseString(String body); HttpResponseBuilder setEncoding(Charset charset); HttpResponseBuilder setResponse(byte[] responseBytes); HttpResponseBuilder setResponseNoCopy(byte[] responseBytes); HttpResponseBuilder setHttpStatusCode(int httpStatusCode); HttpResponseBuilder clearAllHeaders(); HttpResponseBuilder addHeader(String name, String value); HttpResponseBuilder setHeader(String name, String value); String getHeader(String name); HttpResponseBuilder addHeaders(Map<String, String> headers); HttpResponseBuilder addAllHeaders(Map<String, ? extends List<String>> headers); HttpResponseBuilder addAllHeaders(Multimap<String, String> headers); Collection<String> removeHeader(String name); HttpResponseBuilder setCacheTtl(int cacheTtl); HttpResponseBuilder setExpirationTime(long expirationTime); HttpResponseBuilder setRefetchStrictNoCacheAfterMs(long refetchStrictNoCacheAfterMs); HttpResponseBuilder setCacheControlMaxAge(long expirationTime); HttpResponseBuilder setStrictNoCache(); HttpResponseBuilder setMetadata(String key, String value); HttpResponseBuilder setMetadata(Map<String, String> metadata); int getContentLength(); int getHttpStatusCode(); long getRefetchStrictNoCacheAfterMs();  }### Answer:
@Test public void setStrictNoCache() { HttpResponseBuilder builder = new HttpResponseBuilder() .addHeader("Cache-Control", "public,max-age=100") .addHeader("Expires", "some time stamp normally goes here") .setStrictNoCache(); Multimap<String, String> headers = builder.getHeaders(); assertFalse("Expires header not removed.", headers.containsKey("Expires")); assertEquals("no-cache", headers.get("Cache-Control").iterator().next()); assertEquals("no-cache", headers.get("Pragma").iterator().next()); }