Results (EasyMock 5.5.0 API)
Date: 2024-11-17

org.easymock.internal

## Class Results

- java.lang.Object
- - org.easymock.internal.Results

- All Implemented Interfaces:
    Serializable

      public class Results
      extends Object
      implements Serializable

  The results of a specific call on a mock. It's plural because a specific call can be called multiple times and so will return multiple results.
  Author:
    OFFIS, Tammo Freese
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Results()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `add(Result result, Range range)`
    `int` | `getCallCount()`
    `boolean` | `hasResults()`
    `boolean` | `hasValidCallCount()`
    `Result` | `next()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### Results

          public Results()

  - ### Method Detail

    - #### add

          public void add(Result result,
                          Range range)

    - #### hasResults

          public boolean hasResults()

    - #### next

          public Result next()

    - #### hasValidCallCount

          public boolean hasValidCallCount()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

    - #### getCallCount

          public int getCallCount()

Copyright © 2001–2024 EasyMock contributors. All rights reserved.