Uses of Interface org.easymock.IExpectationSetters (EasyMock 3.3.1 API)
Date: 2015-01-05

## Uses of Interface
org.easymock.IExpectationSetters

- Packages that use IExpectationSetters
  Package | Description
  --- | ---
  org.easymock |
  org.easymock.internal |

- - ### Uses of IExpectationSetters in org.easymock

    Methods in org.easymock that return IExpectationSetters
    Modifier and Type | Method and Description
    --- | ---
    `IExpectationSetters<T>` | IExpectationSetters.`andAnswer(IAnswer<? extends T> answer)` Sets an object that will be used to calculate the answer for the expected invocation (either return a value, or throw an exception).
    `IExpectationSetters<T>` | IExpectationSetters.`andDelegateTo(Object delegateTo)` Sets an object implementing the same interface as the mock.
    `IExpectationSetters<T>` | IExpectationSetters.`andReturn(T value)` Sets a return value that will be returned for the expected invocation.
    `IExpectationSetters<T>` | IExpectationSetters.`andThrow(Throwable throwable)` Sets a throwable that will be thrown for the expected invocation.
    `IExpectationSetters<T>` | IExpectationSetters.`andVoid()` Records a call but returns nothing.
    `IExpectationSetters<T>` | IExpectationSetters.`anyTimes()` Expect the last invocation any times.
    `IExpectationSetters<T>` | IExpectationSetters.`atLeastOnce()` Expect the last invocation at least once.
    `static <T> IExpectationSetters<T>` | EasyMock.`expect(T value)` Returns the expectation setter for the last expected invocation in the current thread.
    `static <T> IExpectationSetters<T>` | EasyMock.`expectLastCall()` Returns the expectation setter for the last expected invocation in the current thread.
    `IExpectationSetters<T>` | IExpectationSetters.`once()` Expect the last invocation once.
    `IExpectationSetters<T>` | IExpectationSetters.`times(int count)` Expect the last invocation `count` times.
    `IExpectationSetters<T>` | IExpectationSetters.`times(int min, int max)` Expect the last invocation between `min` and `max` times.

  - ### Uses of IExpectationSetters in org.easymock.internal

    Classes in org.easymock.internal that implement IExpectationSetters
    Modifier and Type | Class and Description
    --- | ---
    `class` | `MocksControl`

    Methods in org.easymock.internal that return IExpectationSetters
    Modifier and Type | Method and Description
    --- | ---
    `IExpectationSetters<Object>` | MocksControl.`andAnswer(IAnswer<? extends Object> answer)`
    `IExpectationSetters<Object>` | MocksControl.`andDelegateTo(Object answer)`
    `IExpectationSetters<Object>` | MocksControl.`andReturn(Object value)`
    `IExpectationSetters<Object>` | MocksControl.`andThrow(Throwable throwable)`
    `IExpectationSetters<Object>` | MocksControl.`andVoid()`
    `IExpectationSetters<Object>` | MocksControl.`anyTimes()`
    `IExpectationSetters<Object>` | MocksControl.`atLeastOnce()`
    `IExpectationSetters<Object>` | MocksControl.`once()`
    `IExpectationSetters<Object>` | MocksControl.`times(int times)`
    `IExpectationSetters<Object>` | MocksControl.`times(int min, int max)`

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