Tags and keywords
In the following BDD fragment and StateMachine setup, if the state machine is initialised and in inner 'StateA', how many times will "Enter B" be printed after responding to the following signal events: 'AtoB', 'LeaveComposite', 'ToHistory'?
video_sim
Watch a high resolution version of the video on Vimeo.
When signal 'AtoB' is received the state machine will enter inner 'StateB' and print "Enter B". When signal 'LeaveComposite' and then 'ToHistory' are received, the shallow history will direct the state machine to RE-ENTER the 'StateB', so the entry Behavior is invoked and "Enter B" is printed a 2nd time.
To mark the end of the Australian financial year we are offering a 25% DISCOUNT off SysMLv2 Workshop Seminar group course bookings fully pre-paid by 30th June 2026. This deal ends soon! Contact us now to apply!
