Deep Shah's Blog

Coding is an art. Not everyone is an Artist!

Showing posts with label evil constructor. Show all posts
Showing posts with label evil constructor. Show all posts
Wednesday, June 16, 2010

How to test methods of a class whos constructor is evil, using PowerMock

›
As promised in my previous post , today I will show, the second way to write test cases for methods of a class whose constructor does crazy ...
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.