@Test
public void testManyResponseHeaders() {

    Cache.Entry entry = new Cache.Entry();
    entry.data = new byte[0];
    entry.responseHeaders = new HashMap<>();
    for (int i = 0; i < 0xFFFF; i++) {
        entry.responseHeaders.put(Integer.toString(i), "");
    }
    cache.put("key", entry);
}