Deep Shah's Blog

Coding is an art. Not everyone is an Artist!

Showing posts with label suppress method. Show all posts
Showing posts with label suppress method. Show all posts
Monday, June 21, 2010

How to suppress static initializers using PowerMock

›
In my previous post we saw how we could test methods of class whose constructor does evil stuff .  What if the static initializer of the cla...
Monday, June 7, 2010

How to supress methods and constructors using PowerMock

›
We have come a long way in our how-to series, demonstrating the power of PowerMocks (with the Mockito api).  I hope you are liking it as mu...
›
Home
View web version
Powered by Blogger.