String getInitiatorTimeZone() {
    if (initiator.getType() == Initiator.Type.TIME) {
      return ((TimeInitiator) initiator).getTimezone();
    }
    return null;
  }
@Test
  public void testGetInitiatorTimeZone() throws Exception {
    WorkflowInstance instance =
        loadObject(
            "fixtures/instances/sample-workflow-instance-created.json", WorkflowInstance.class);
    TimeInitiator initiator = new TimeInitiator();
    initiator.setTimezone("Asia/Tokyo");
    ;
    RunRequest runRequest =
        RunRequest.builder()
            .currentPolicy(RunPolicy.RESTART_FROM_INCOMPLETE)
            .initiator(initiator)
            .build();
    InstanceWrapper instanceWrapper = InstanceWrapper.from(instance, runRequest);
    assertEquals(runRequest.getInitiator(), instanceWrapper.getInitiator());
    assertTrue(instanceWrapper.isWorkflowParam());
    assertEquals("Asia/Tokyo", instanceWrapper.getInitiatorTimeZone());
    assertEquals(runRequest.getCurrentPolicy().name(), instanceWrapper.getRunPolicy());
    assertEquals(
        instance.getRunProperties().getOwner().getName(), instanceWrapper.getWorkflowOwner());
    assertNull(instanceWrapper.getFirstTimeTriggerTimeZone());
  }