@Test
public void testSeek() throws Exception {
DataAccess zip = zip(testContent1);
InflaterDataAccess ida = new InflaterDataAccess(zip, 0, zip.length(), -1, new Inflater(), new byte[25], null);
ida.seek(20);
final int bufferCapacity = 10;
ByteBuffer chunk1 = ByteBuffer.allocate(bufferCapacity);
ida.readBytes(chunk1);
errorCollector.assertTrue(new ByteArraySlice(testContent1, 20, bufferCapacity).equalsTo(chunk1.array()));
ida.skip(-bufferCapacity);