Proxies.enhanceResponse(resp1)).once();
expect(
mockBackend.execute(eq(route), isA(HttpRequestWrapper.class),
isA(HttpClientContext.class), (HttpExecutionAware) isNull())).andThrow(
new AssertionFailedError("Should have reused cached 304 response")).anyTimes();
replayMocks();
impl.execute(route, req1, context, null);
final HttpResponse result = impl.execute(route, req2, context, null);
verifyMocks();