@Test
public void testSnapshotClosed() {

    chain.snapshotClosed(snapshot);
    // snap is removed, so cannot be aborted
    chain.close();
    Mockito.verify(snapshot, Mockito.never()).abort();
    Mockito.verify(history).close();
}