@Test
void addsReset() {

    final List<Runnable> items = new ArrayList<>();
    final InstanceState<String> parent = mock(InstanceState.class);
    final TransactionalInstanceState<String> s = new TransactionalInstanceState<>(items, parent);
    s.reset(m -> {
    });
    verify(parent, never()).reset(any());
    items.get(0)
        .run();
    verify(parent).reset(any());
}