simpleHttpResponse.removeHeader("Cache-Control");
assertEquals(null, simpleHttpResponse.headers().getHeader("Cache-Control"));
HttpModifiedResponse resp = new HttpModifiedResponse(simpleHttpResponse, false, "js");
List<StreamFilter> filters = resp.getFilters();
for (Iterator<StreamFilter> iterator = filters.iterator(); iterator.hasNext();) {
StreamFilter streamFilter = iterator.next();
if (streamFilter instanceof NoCacheFilter) {
fail("Should not have added NoCacheFilter");
}
}
}