assertTrue(a.isLocked());
assertFalse(b.isLocked());
assertEquals(PooledFileRandomAccessBuffer.getOpenFDs(), 1);
assertEquals(PooledFileRandomAccessBuffer.getClosableFDs(), 0);
} finally {
lock.unlock();
assertFalse(a.isLocked());
assertEquals(PooledFileRandomAccessBuffer.getOpenFDs(), 1);
assertEquals(PooledFileRandomAccessBuffer.getClosableFDs(), 1);
}
a.close();