public class MocksBehavior extends Object implements IMocksBehavior, Serializable
| Constructor and Description |
|---|
MocksBehavior(boolean nice) |
| Modifier and Type | Method and Description |
|---|---|
Result |
addActual(Invocation actual) |
void |
addExpected(ExpectedInvocation expected,
Result result,
Range count) |
void |
addStub(ExpectedInvocation expected,
Result result) |
void |
checkOrder(boolean value) |
void |
checkThreadSafety() |
boolean |
isThreadSafe() |
void |
makeThreadSafe(boolean isThreadSafe) |
void |
shouldBeUsedInOneThread(boolean shouldBeUsedInOneThread) |
void |
verify() |
public final void addStub(ExpectedInvocation expected, Result result)
addStub in interface IMocksBehaviorpublic void addExpected(ExpectedInvocation expected, Result result, Range count)
addExpected in interface IMocksBehaviorpublic final Result addActual(Invocation actual)
addActual in interface IMocksBehaviorpublic void verify()
verify in interface IMocksBehaviorpublic void checkOrder(boolean value)
checkOrder in interface IMocksBehaviorpublic void makeThreadSafe(boolean isThreadSafe)
makeThreadSafe in interface IMocksBehaviorpublic void shouldBeUsedInOneThread(boolean shouldBeUsedInOneThread)
shouldBeUsedInOneThread in interface IMocksBehaviorpublic boolean isThreadSafe()
isThreadSafe in interface IMocksBehaviorpublic void checkThreadSafety()
checkThreadSafety in interface IMocksBehaviorCopyright © 2001–2014 EasyMock contributors. All rights reserved.