public long size() {
        return size;
    }
@Test
    public void testSize() {
        HpackDynamicTable table = new HpackDynamicTable(100);
        assertEquals(0, table.size());
        HpackHeaderField entry = new HpackHeaderField(FOO, BAR);
        table.add(entry);
        assertEquals(entry.size(), table.size());
        table.clear();
        assertEquals(0, table.size());
    }