assertEquals(dateFormat.format(oneMinuteAgo), servletResponse.getHeader(HttpHeaders.LAST_MODIFIED));
assertEquals(1, servletResponse.getHeaderValues(HttpHeaders.ETAG).size());
assertEquals(etagValue, servletResponse.getHeader(HttpHeaders.ETAG));
}
@Test
<BUG>public void handleReturnTypeNotModified() throws Exception {
</BUG>
long currentTime = new Date().getTime();
long oneMinuteAgo  = currentTime - (1000 * 60);
String etagValue = "\"deadb33f8badf00d\"";

assertEquals(dateFormat.format(oneMinuteAgo), servletResponse.getHeader(HttpHeaders.LAST_MODIFIED));
assertEquals(1, servletResponse.getHeaderValues(HttpHeaders.ETAG).size());
assertEquals(etagValue, servletResponse.getHeader(HttpHeaders.ETAG));
}
@Test
public void handleReturnValueNotModified() throws Exception {
long currentTime = new Date().getTime();
long oneMinuteAgo  = currentTime - (1000 * 60);
String etagValue = "\"deadb33f8badf00d\"";
