compared with
Current by Thor Henning Hetland
on Sep 29, 2011 10:49.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (9)

View Page History

*Scenario 1*: Account has sufficient funds
Given the account balance is \$100 *$100*
And the card is valid
And the machine contains enough money
When the Account Holder requests \$20 *$20*
Then the ATM should dispense \$20 *$20*
And the account balance should be \$80 *$80*
And the card should be returned

*Scenario 2*: Account has insufficient funds
Given the account balance is \$10 *$10*
And the card is valid
And the machine contains enough money
When the Account Holder requests \$20 *$20*
Then the ATM should not dispense any money
And the ATM should say there are insufficient funds
And the account balance should be \$20 *$20*
And the card should be returned

*Scenario 3*: Card has been disabled
Given the card is disabled
When the Account Holder requests \$20 *$20*
Then the ATM should retain the card
And the ATM should say the card has been retained

*Scenario 4*: The ATM has insufficient funds