From: Barry K. <bk...@in...> - 2003-05-15 21:59:35
|
Tim Mackinnon wrote: > Actually if its just for getters and you just want to specify a return value > (and not bother setting an expectation, just use matchAndReturn). Or use > both to get an initial expectation and then a default (and then no need for > a special factory) > > expectAndReturn("getX", 5); > matchAndReturn("getX", 5); Now I'm confused. I see no method matchAndReturn(). Is that only in the branch? |