Deep Shah's Blog
Coding is an art. Not everyone is an Artist!
Showing posts with label
doReturn
.
Show all posts
Showing posts with label
doReturn
.
Show all posts
Monday, June 28, 2010
How to suppress fields with PowerMock
›
Now why would you want to do that! Lets look at the code straightaway. Code under test: The AccountDAO class has a "session" ...
Tuesday, May 25, 2010
How to partially mock a class and its private methods using PowerMock
›
Earlier, in the how-to series we had seen how-to mock constructors . In this post we will have a look at how-to partially mock classes and...
›
Home
View web version