Package org.easymock.internal
Interface IMocksBehavior
-
- All Known Implementing Classes:
MocksBehavior
public interface IMocksBehavior
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ResultaddActual(Invocation invocation)voidaddExpected(ExpectedInvocation expected, Result result, Range count)voidaddStub(ExpectedInvocation expected, Result result)voidcheckOrder(boolean value)voidcheckThreadSafety()booleanisThreadSafe()voidmakeThreadSafe(boolean isThreadSafe)voidshouldBeUsedInOneThread(boolean shouldBeUsedInOneThread)voidverify()voidverifyRecording()voidverifyUnexpectedCalls()
-
-
-
Method Detail
-
addExpected
void addExpected(ExpectedInvocation expected, Result result, Range count)
-
addStub
void addStub(ExpectedInvocation expected, Result result)
-
checkOrder
void checkOrder(boolean value)
-
makeThreadSafe
void makeThreadSafe(boolean isThreadSafe)
-
shouldBeUsedInOneThread
void shouldBeUsedInOneThread(boolean shouldBeUsedInOneThread)
-
addActual
Result addActual(Invocation invocation)
-
isThreadSafe
boolean isThreadSafe()
-
checkThreadSafety
void checkThreadSafety()
-
verifyRecording
void verifyRecording()
-
verifyUnexpectedCalls
void verifyUnexpectedCalls()
-
verify
void verify()
-
-