ATM Machine
Tests State pattern (Idle, HasCard, Authenticated, SelectingTransaction, Dispensing), secure design (PIN masking, session timeout), and the Chain of Responsibility for denomination selection.
Enable JavaScript for the full StreamPrep guide.