Guest User

Untitled

a guest
May 20th, 2018
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. Given
  2. !ElementDefinition
  3. name: element1
  4. childElementDefinitions:
  5. - !ElementDefinition { name: element11 }
  6. - !ElementDefinition { name: element12 }
  7. When I generate the Automaton
  8. Then the automaton should be
  9. State: InitialState
  10. Transition: toState=startFile, trigger=*
  11. State: startFile
  12. Transition: toState=normalRecord, trigger=normalRecord
  13. Transition: toState=endFile, trigger=trailerRecord
  14. State: normalRecord
  15. Transition: toState=normalRecord, trigger=normalRecord
  16. Transition: toState=endFile, trigger=trailerRecord
  17. State: endFile
  18. Transition: toState=endState, trigger=*
  19. Transition: toState=startFileState, trigger=normalRecord
  20. State: endState
Add Comment
Please, Sign In to add comment