My uncle was part of the team in Bank of America implementing new ATM software at the time they moved to somewhat customizing the interface so it had a quick button on the first menu to give you your favourite withdrawal amount quickly, let you choose what notes you wanted etc. He said it was written in java and his favourite bit was writing the method that would be called (after all checks were done to make sure you had the money etc) to issue the cash. It was called “dispenseWithoutQuestion()”.
You could call dispenseWithoutQuestion(someamount) and the device would spit that amount of cash out so it was obviously tremendously pleasing to test.
Why would this be tremendously pleasing to test?