From: Francois B. <fb...@us...> - 2003-06-29 01:47:48
|
Hi ! I need functionnality equivalent to expect(String, Object), but for match(). Currently, in 0.09, there are matchAndReturn methods, but no simple match(String). In this specific test instance, it does not matter how many times I call method X as it has been asserted elsewhere that the correct number of calls is made. Instead of: mock.expect("eat", C.ANY_ARGS); I would like: mock.match("eat", C.ANY_ARGS); This is something like the nice mock feature I spoke about a few weeks back. What I want is no exception if I call the method 100 times or 10 times. Thanks ! Fran=E7ois -- Francois Beausoleil Developer of Java Gui Builder http://jgb.sourceforge.net/ |