Java Mailing List Archive

http://www.gg3721.com/

Home » user.jmock »

[jmock-user] using @Mock

David Carlton

2010-10-21

Replies: Find Java Web Hosting

Author LoginPost Reply
The jMock documentation at <http://www.jmock.org/auto.html> says that I can use @Mock to create mock objects, but that annotation isn't resolving for me; am I doing something stupid, or is the documentation wrong for the version I'm using?  (I'm using 2.5.1.)

My apologies if this is a FAQ - the e-mail archive search ignores the @ character, so searching for @Mock turns up a lot of false positives.

(Incidentally, I'm very pleased that I've finally started using jMock - it's made the last week and a half of programming extremely pleasant.)

--
David Carlton
carlton@bactrian.org
©2008 gg3721.com - Jax Systems, LLC, U.S.A.