Arranging Reference State Machine Unit Tests