org.jmock.expectation
Class VoidReturnValues

java.lang.Object
  extended byorg.jmock.expectation.ReturnValues
      extended byorg.jmock.expectation.VoidReturnValues

public class VoidReturnValues
extends ReturnValues

Sequence of void 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 inherited from class org.jmock.expectation.ReturnValues
myContents
 
Constructor Summary
VoidReturnValues()
           
VoidReturnValues(boolean keepUsingLastReturnValue)
           
VoidReturnValues(java.lang.String name, boolean keepUsingLastReturnValue)
           
 
Method Summary
 java.lang.Object getNext()
           
 
Methods inherited from class org.jmock.expectation.ReturnValues
add, addAll, isEmpty, pop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VoidReturnValues

public VoidReturnValues()

VoidReturnValues

public VoidReturnValues(java.lang.String name,
                        boolean keepUsingLastReturnValue)

VoidReturnValues

public VoidReturnValues(boolean keepUsingLastReturnValue)
Method Detail

getNext

public java.lang.Object getNext()
Overrides:
getNext in class ReturnValues


Copyright © 2003 jMock.org. All Rights Reserved.