public void CanUnpinMultipleBuffers() { _buffersList = new TransactionBuffersList(_bufferManager); var block = new Block(RandomFilename, 0); Assert.DoesNotThrow(() => { _buffersList.Pin(block); _buffersList.Pin(block); _buffersList.Pin(block); _buffersList.Unpin(block); _buffersList.Unpin(block); _buffersList.Unpin(block); }); }
public void Unpin(Block block) { _bufferList.Unpin(block); }