@Override
    public void reset() {
        set(INIT);
    }
@Test
    public void testReset() {
        SnapshotRegistry registry = new SnapshotRegistry(new LogContext());
        TimelineInteger value = new TimelineInteger(registry);
        registry.getOrCreateSnapshot(2);
        value.set(1);
        registry.getOrCreateSnapshot(3);
        value.set(2);

        registry.reset();

        assertEquals(Collections.emptyList(), registry.epochsList());
        assertEquals(TimelineInteger.INIT, value.get());
    }