@Test
public void getParentIdReturnsParentWorkflowId() {

  instance = new WorkflowInstance.Builder().setParentWorkflowId(42L).build();
  createExecution();
  assertThat(execution.getParentId(), is(Optional.of(42L)));
}