Question: Question 1 . [ 3 0 points ] Below figure shows the dynamic behavior of a simplified airline booking system. The state machine consists of
Question points
Below figure shows the dynamic behavior of a simplified airline booking system. The state machine consists of states with events to transit from one state to another. Study this state machine and then examine the attached implementation details of the airline booking state machine Bookingjava
Using the Junit testing framework, you are required to do the following:
Create a test cases for this state machine to cover all possible transitions and verify the implementation of the attached Java file Bookingjava
points
Now, intentionally we have introduced two faults that will result in a failure of the airline state machine behavior. Using your previous tests, apply them on the faulty Java file BookingFault.java and examine if your tests caught the error. Present a picture of the failed test cases and the faults location. points
Page of Please write the full cods and send it with photo
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
