public interface IMocksControl extends IExpectationSetters
| Modifier and Type | Method and Description |
|---|---|
void |
checkOrder(boolean state)
Switches order checking on and off.
|
<T> T |
createMock(java.lang.Class<T> toMock)
Creates a mock object that implements the given interface.
|
void |
replay()
Switches the control from record mode to replay mode.
|
void |
reset()
Removes all expectations for the mock objects of this control.
|
void |
verify()
Verifies that all expectations were met.
|
andReturn, andStubReturn, andStubThrow, andThrow, anyTimes, asStub, atLeastOnce, callback, once, times, times<T> T createMock(java.lang.Class<T> toMock)
T - the interface that the mock object should implement.toMock - the class of the interface that the mock object should implement.void reset()
void replay()
void verify()
void checkOrder(boolean state)
state - true switches order checking on, false switches it off.Copyright © 2001-2005 OFFIS, Tammo Freese. This documentation is provided under the terms of the MIT licence.