Details
-
Type:
New Feature
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.5.0
-
Component/s: JMock 2.x.x Library
-
Labels:None
-
Number of attachments :
Description
An action that makes it easy for a mock object to call back to an argument passed to a mocked method.
E.g.
one (m).addStuffToList(with(any(List.class))); will(perform("$0.add(1)"));
This will be an optional plugin, packaged in its own JAR, and rely on the BeanShell library.