Package org.jmock.expectation
Class ReturnValues
java.lang.Object
org.jmock.expectation.ReturnValues
- Direct Known Subclasses:
VoidReturnValues
Sequence values as required by MockMaker
This is a generic class that should have been introduced to the mockobjects code stream instead of
being separately included in org.mockobjects.
It is possibly similar to a ReturnObjectList?
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionReturnValues
(boolean keepUsingLastReturnValue) ReturnValues
(String name, boolean keepUsingLastReturnValue) -
Method Summary
-
Field Details
-
myContents
-
-
Constructor Details
-
ReturnValues
public ReturnValues() -
ReturnValues
-
ReturnValues
public ReturnValues(boolean keepUsingLastReturnValue)
-
-
Method Details
-
add
-
addAll
-
getNext
-
isEmpty
public boolean isEmpty() -
pop
-