@Test
public void shouldReturnTriesAndDelayMs() {

  final StateData stateData =
      StateData.newBuilder().executionId("exec-1").retryDelayMillis(1000L).build();
  assertThat(stateInfo(
      RunState.create(WORKFLOW_INSTANCE, QUEUED, stateData)),
      is(format("tries:0 delayMs:%s", stateData.retryDelayMillis())));
}