Øredev 2008 – Java – PowerMock
PowerMockJan Kronquist & Johan Haleby, Jayway, SwedenPowerMock can be used to test code normally regarded as untestable! Have you ever heard anyone say that you should never use static or final methods in your code because it makes them impossible to test? Have you ever changed a method from private to protected for the sake of testability?What about avoiding “new”? Think again! PowerMock lets yo…
[feedsnap, 1]http://www.amazon.com/rss/tag/java/new/?tag=javlivsyt-20[/feedsnap]