@Test
void delegatesKeys() {

    final InstanceState<String> parent = mock(InstanceState.class);
    when(parent.getKeys()).thenReturn(Stream.empty());
    final TransactionalInstanceState<String> s = new TransactionalInstanceState<>(Collections.emptyList(), parent);
    assertThat(s.getKeys()).isSameAs(parent.getKeys());
}