tag:blogger.com,1999:blog-6063627024520487734.post1845621645384993635..comments2022-12-10T21:52:37.106+08:00Comments on Jan Amoyo: Static Methods and Unit Testingjramoyohttp://www.blogger.com/profile/04727621188639609013noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-6063627024520487734.post-10304078661477368582014-03-28T01:42:55.046+08:002014-03-28T01:42:55.046+08:00Just because a method needs to be mock-testable do...Just because a method needs to be mock-testable doesn't mean that the entire universe should go the singleton, dependency style.<br /><br />It's better to use tools like PowerMock: http://code.google.com/p/powermock/Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6063627024520487734.post-27593521123825192192014-02-09T01:31:20.245+08:002014-02-09T01:31:20.245+08:00Very helpful write up! Thank you!Very helpful write up! Thank you!Brendan Heusslerhttps://www.blogger.com/profile/16905720891429037846noreply@blogger.com