@Test
    public void parallelState_NoCycles() {
        assertNoCycle(stateMachine()
                              .startAt("Initial")
                              .state("Initial", parallelState()
                                      .branch(branch()
                                                      .startAt("BranchOneStart")
                                                      .state("BranchOneStart", succeedState()))
                                      .branch(branch()
                                                      .startAt("BranchTwoStart")
                                                      .state("BranchTwoStart", passState()
                                                              .transition(next("NextState")))
                                                      .state("NextState", succeedState()))
                                      .transition(end())));
    }
While the nested ChoiceTwo state only has cycles, it has a cycle out of the choice state to
a state that contains a path to a terminal. The validator doesn't validate that the path out actually
has a path to the terminal so there are some invalid state machines that will pass validation.
aws-java-sdk-stepfunctions/src/test/java/com/amazonaws/services/stepfunctions/builder/internal/validation/CycleTest.java