|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of IExpectationSetters in org.easymock |
---|
Subinterfaces of IExpectationSetters in org.easymock | |
---|---|
interface |
IMocksControl
Controls all the mock objects created by it. |
Methods in org.easymock that return IExpectationSetters | ||
---|---|---|
IExpectationSetters<T> |
IExpectationSetters.andAnswer(IAnswer<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.andReturn(T value)
Sets a return value that will be returned for the expected invocation. |
|
IExpectationSetters<T> |
IExpectationSetters.andThrow(java.lang.Throwable throwable)
Sets a throwable that will be thrown for the expected invocation. |
|
IExpectationSetters<T> |
IExpectationSetters.anyTimes()
Expect the last invocation any times. |
|
IExpectationSetters<T> |
IExpectationSetters.atLeastOnce()
Expect the last invocation at least once. |
|
static
|
EasyMock.expect(T value)
Returns the expectation setter for the last expected invocation in the current thread. |
|
static IExpectationSetters<java.lang.Object> |
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. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |