@Test
public void getStateVariableWorks() {

  WorkflowInstance instance = new WorkflowInstance.Builder().putStateVariable("key", "value").build();
  assertThat(instance.getStateVariable("key"), is("value"));
}