private ParallelState.Builder testParallelState() {
        return parallelState().parameters("\"foo\"")
                              .resultPath("$.parallel.result")
                              .inputPath("$.parallel.input")
                              .outputPath("$.parallel.output")
                              .transition(next("MapState"))
                              .catcher(catcher().transition(next("EndState"))
                                                .resultPath("$.catcher.result")
                                                .catchAll())
                              .retrier(retrier()
                                           .retryOnAllErrors()
                                           .backoffRate(1.2)
                                           .maxAttempts(3)
                                           .intervalSeconds(5))
                              .comment("This is a parallel state")
                              .branch(branch().comment("Branch One")
                                              .state("BranchOneStart", succeedState()
                                                  .inputPath("$.succeed.input")
                                                  .outputPath("$.succeed.output")
                                                  .comment("Succeed state"))
                                              .startAt("BranchOneStart"))
                              .branch(branch().comment("Branch Two")
                                              .state("BranchTwoStart", passState()
                                                  .inputPath("$.pass.input")
                                                  .outputPath("$.pass.output")
                                                  .parameters("{\"foo\": \"bar\"}")
                                                  .result(new SimplePojo("value"))
                                                  .transition(next("BranchTwoEnd"))
                                                  .comment("Pass state"))
                                              .state("BranchTwoEnd", passState()
                                                  .transition(end())
                                                  .comment("This is the final state of branch two"))
                                              .startAt("BranchTwoStart"));
    }
Dummy date so we have a fixed time for comparison.
aws-java-sdk-stepfunctions/src/test/java/com/amazonaws/services/stepfunctions/builder/StepFunctionBuilderIntegrationTest.java