org.jmock.expectation
Class ReturnObjectBag

The ReturnObjectBag is a map containing instances of ReturnObjectList.
A single instance is held for each mapkey. Every time a call to putObjectToReturn or
getNextReturnObject is made an object is added or removed from the ReturnObjectList for
the given key.
This allows the ReturnObjectBag to be used to return an ordered list of objects for each key
regardless of the order in which the key requests are made.