4 Aug 13:50
How to obtain current state of state-machine?
From: MSanchez <tecopen@...>
Subject: How to obtain current state of state-machine?
Newsgroups: gmane.comp.java.jmock.user
Date: 2008-08-04 11:54:16 GMT
Subject: How to obtain current state of state-machine?
Newsgroups: gmane.comp.java.jmock.user
Date: 2008-08-04 11:54:16 GMT
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? -- -- View this message in context: http://www.nabble.com/How-to-obtain-current-state-of-state-machine--tp18809870p18809870.html Sent from the jMock - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
RSS Feed