@Test
void responsesAreDifferentForDifferentTypes() {

    assertNotSame(
            cache.wrap(client).request(new HttpRequestNoBody(config, GET, "/"), r -> new StringResponse(new MockRawResponse(), ""), String.class),
            cache.wrap(client).request(new HttpRequestNoBody(config, GET, "/"), r -> new BasicResponse(new MockRawResponse(), ""), Empty.class)
    );
    assertEquals(2, client.invokes);
}