org.easymock.internal

Interface IMocksBehavior

public interface IMocksBehavior extends ILegacyMatcherMethods

Method Summary
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()

Method Detail

addActual

public Result addActual(Invocation invocation)

addExpected

public void addExpected(ExpectedInvocation expected, Result result, Range count)

addStub

public void addStub(ExpectedInvocation expected, Result result)

checkOrder

public void checkOrder(boolean value)

checkThreadSafety

public void checkThreadSafety()

isThreadSafe

public boolean isThreadSafe()

makeThreadSafe

public void makeThreadSafe(boolean isThreadSafe)

shouldBeUsedInOneThread

public void shouldBeUsedInOneThread(boolean shouldBeUsedInOneThread)

verify

public void verify()
Copyright © 2001-2009 OFFIS, Tammo Freese, Henri Tremblay. This documentation is provided under the terms of the MIT licence.]]>