Files
UnitTestCourse/BrokerageLib/Scenarios/PaymentDateScenario.txt
2019-11-18 16:59:38 +01:00

11 lines
345 B
Plaintext

[ The Given-When-Then pattern ]
To calculate the next payment date for our customer bills
Given a valid start date
When the future calculated payment date falls on a weekday
Then use the calculated date
Given a valid start date
When the future calculated payment date falls on a weekend
Then use the first Monday after calculated date