Package org.jmock.lib.action
Actions that fake the behaviour of mocked invocations.
-
Class Summary Class Description ActionSequence Returns the next of a sequence of elements each time it is invoked.CustomAction A partial implementation of theActioninterface that makes it convenient to implement application-specific actions with inline anonymous classes.DoAllAction Performs multiple actions every time it is invoked.ReturnEnumerationAction Returns anEnumerationover a collection.ReturnIteratorAction Returns anIteratorover a collection.ReturnValueAction Returns a value.ThrowAction Throws an exception.VoidAction Returns nothing from a void method.