Java Mailing List Archive

http://www.gg3721.com/

Home » user.jmock »

[jmock-user] Can I mock an enum

Avinash Nayak

2008-09-12

Replies: Find Java Web Hosting

Author LoginPost Reply
I was trying to write testcases for a method which takes an enum as parameter.
I dont want to pass any particular value to it.

This enum also contains a few methods that i want to mock.
Is there any way to do so?

Please let me know if my question is not clear.
I will try to post a sample then.

Thanks,
Avinash


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

  http://xircles.codehaus.org/manage_email


©2008 gg3721.com - Jax Systems, LLC, U.S.A.