<<How can a method be well tested when it's inputs can't be clearly identified? Consider this method in Java: /** Return a date object representing the start of the next minute from now */ public Date nextMinuteFromNow() { long nowAsMillis = System.currentTimeMillis() ; ...>> (more...) |