ContentStoreDirZip extends ContentStoreDirUtf8 { @Override public void close() { compresserPool.close(); decompresserPool.close(); zipbufPool.close(); super.close(); } ContentStoreDirZip(File dir);  ContentStoreDirZip(File dir, boolean create); @Override void close(); @Override void setBlockSizeCharacters(int size);  }
@Test public void testCloseReopen() { store.close(); store = new ContentStoreDirZip(dir); Assert.assertEquals(str[0], store.retrieve(1)); }
@Test public void testCloseReopenAppend() { store.close(); store = new ContentStoreDirZip(dir); Assert.assertEquals(5, store.store("test")); }