@Test
public void getTypedStateVariableWithDefaultValueWorks() {

  WorkflowInstance instance = new WorkflowInstance.Builder(mapper).build();
  assertThat(instance.getStateVariable("key", Long.class, 99L), is(99L));
}