Report for lv.id.jc.machine.unit.ControlUnitWithdrawCashSpec


Summary:

Created on Tue Nov 15 13:34:41 UTC 2022 by runner
Executed features Passed Failures Errors Skipped Success rate Time
1 1 0 0 0 100.0% 0.017 seconds
The collector withdraws cash for sold coffee drinks
As a collector
I want to withdraws cash for sold coffee drinks
So that I can bring the collected cash to the accountant
See:

Features:

should withdraw cash from storage unit Return
(0.011 seconds)
Given:
storage unit with a particular volume of resources
And:
control unit with the storage and fake display
And:
control unit is in the main menu state
And:
we clear all messages from fake display
When:
the collector sends a request to withdraw cash from the coffee machine
Then:
the display shows conformation message
And:
the cash container is empty while other at their original state
Where:
resources in the storage block
And:
command to withdraw cash from the coffee machine
And:
confirmation message
Examples:
water milk beans cups cash request message
0 0 0 0 0 TAKE I gave you $0 OK (0.011 seconds)
400 540 120 9 550 TAKE I gave you $550 OK (0)
0 270 75 3 1027 TAKE I gave you $1027 OK (0)
3/3 passed