By alessiopace
via jroller.com
Published: Aug 27 2006 / 23:09
"Sometimes you may need to mock only some methods of a class and keep the normal behavior of others. This usually happens when you want to test a method that calls some others in the same class. So you want to keep the normal behavior of the tested method and mock the others."
Let's try it!
Tweet
SaveShareSend
Tags: frameworks, how-to, java, open source
Add your comment
Voters For This Link (12)
-
alessiopace -
rick -
bonlebon -
dkappe -
jalaine -
unchqua -
or73356 -
saciperere -
ervalerio -
kk12314 -
epsonis -
xh35364