Deep Shah's Blog

Coding is an art. Not everyone is an Artist!

Showing posts with label constructor. Show all posts
Showing posts with label 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...
Tuesday, May 25, 2010

How to mock constructors using PowerMock

›
In the how-to series today I will show how-to mock constructors using PowerMocks - Mocks on Steroids! .  In my previous post we saw how ca...
›
Home
View web version
Powered by Blogger.