Thats funny, I always found static methods are much easier to test than non-static ones, due to the natural lack of state/context, i.e. no complex setup/teardown hierarchy.
/Casper ElmerFud wrote: > My aversion to static methods has to do with testability. It can > sometimes be a challenge to mock a static method and isolate it from a > system under test. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/javaposse?hl=en -~----------~----~----~----~------~----~------~--~---
