[
http://jira.codehaus.org/browse/JMOCK-172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nat Pryce updated JMOCK-172:
----------------------------
Fix Version/s: (was: 2.5.0)
> Make it easy to define a block of expectations that only occur in a given state
> -------------------------------------------------------------------------------
>
> Key: JMOCK-172
> URL:
http://jira.codehaus.org/browse/JMOCK-172> Project: jMock
> Issue Type: New Feature
> Components: Library
> Affects Versions: 2.4.0
> Reporter: Nat Pryce
>
> If you want a bunch of expectations to only occur in a particular state, it's inconvenient to write "when" clauses after each one. It would be nice to specify the state(s) for an entire block of expectations, like this:
> checking(new Expectations(foo.is("bar")) {{
> ...
> }}
> Perhaps a subclass of Expectations:
> checking(new ExpectationsWhen(foo.is("bar")) {{
> ...
> }}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email