@Test
public void shouldThrowStorageExceptionIfExceptionThrownInCallToGetAllSnapshots() throws Exception {

    throwOnDBIOpen(new SnapshotStoreMethodSimpleCallable() {
        @Override
        public void setup(OnDiskSnapshotsStore onDiskSnapshotsStore) throws Exception {
            // noop
        }
        @Override
        public void runThrowingMethod(OnDiskSnapshotsStore onDiskSnapshotsStore) throws Exception {
            onDiskSnapshotsStore.getAllSnapshotsFromLatestToOldest();
        }
    });
}