@Test
    void testNonSharedCacheMayCacheResponsesWithCacheControlPrivate() throws Exception {
        final ClassicHttpRequest req1 = new BasicClassicHttpRequest("GET","/");
        originResponse.setHeader("Cache-Control","private,max-age=3600");

        final ClassicHttpRequest req2 = new BasicClassicHttpRequest("GET","/");

        Mockito.when(mockExecChain.proceed(Mockito.any(), Mockito.any())).thenReturn(originResponse);

        execute(req1);
        final HttpResponse result = execute(req2);
        Assertions.assertEquals(HttpStatus.SC_OK, result.getCode());

        Mockito.verifyNoInteractions(mockCache);
    }
This class tests behavior that is allowed (MAY) by the HTTP/1.1 protocol
specification and for which we have implemented the behavior in HTTP cache.
httpclient5-cache/src/test/java/org/apache/hc/client5/http/impl/cache/TestProtocolAllowedBehavior.java