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 theAction
interface that makes it convenient to implement application-specific actions with inline anonymous classes.DoAllAction Performs multiple actions every time it is invoked.ReturnEnumerationAction Returns anEnumeration
over a collection.ReturnIteratorAction Returns anIterator
over a collection.ReturnValueAction Returns a value.ThrowAction Throws an exception.VoidAction Returns nothing from a void method.