How to Test Functions that are NOT Predictable?
Recently, I wrote a Java Servlet for sending SMS messages. It had a method that communicated with a GSM modem connected to my PC. It was working fine – well, most of the time! Whenever you interact with a piece of hardware, or for that matter any external system, things can go wrong. A good … more