VoidReturnValues
Date: 2015-09-15

org.jmock.expectation

## Class VoidReturnValues

- java.lang.Object
- - org.jmock.expectation.ReturnValues
  - - org.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

    Constructors
    Constructor and Description
    `VoidReturnValues(boolean keepUsingLastReturnValue)`
    `VoidReturnValues(java.lang.String name, boolean keepUsingLastReturnValue)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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(java.lang.String name,
                          boolean keepUsingLastReturnValue)

    - #### VoidReturnValues

          public VoidReturnValues(boolean keepUsingLastReturnValue)

  - ### Method Detail

    - #### getNext

          public java.lang.Object getNext()

      Overrides:
        `getNext` in class `ReturnValues`