- Save
- Pick up
Task1:
- Given: Locker has room
- When: Save Bag
- Then: Succeed, return ticket
Task2:
- Given: Locker has no room
- When: Save Bag
- Then: Failed, show failed message
Task3:
- Given: Using valid ticket
- When: Pick up bag
- Then: Succeed, return bag
Task4:
- Given: Using invalid ticket
- When: Pick up bag
- Then: Failed, show failed message
Task5:
- Given: Using valid ticket
- When: Pick up bag twice
- Then: Succeed in the first time and failed in the second time. Show failed message