Java Mailing List Archive

http://www.gg3721.com/

Home » user.jmock »

[jmock-user] How to obtain current state of state-machine?

MSanchez

2008-08-04

Replies: Find Java Web Hosting

Author LoginPost Reply

Hi.

Firstly; I'm very new to jMock so I apologize for any obvious oversights.

I'm using States but I can find no way to verify the final state at the end
of the test? The only workaround I have found is declaring an (irrelevant)
method call in the desired state and making that call at the end of the test
to force a failure if the state is incorrect.

Thoughts?
--
Sent from the jMock - User mailing list archive at Nabble.com.


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

  http://xircles.codehaus.org/manage_email


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