org.easymock.internal

Interface IMocksControlState

public interface IMocksControlState extends ILegacyMethods

Method Summary
voidandAnswer(IAnswer<?> answer)
voidandDelegateTo(Object answer)
voidandReturn(Object value)
voidandStubAnswer(IAnswer<?> answer)
voidandStubDelegateTo(Object delegateTo)
voidandStubReturn(Object value)
voidandStubThrow(Throwable throwable)
voidandThrow(Throwable throwable)
voidassertRecordState()
voidasStub()
voidcheckIsUsedInOneThread(boolean shouldBeUsedInOneThread)
voidcheckOrder(boolean value)
Objectinvoke(Invocation invocation)
voidmakeThreadSafe(boolean threadSafe)
voidreplay()
voidtimes(Range range)
voidverify()

Method Detail

andAnswer

public void andAnswer(IAnswer<?> answer)

andDelegateTo

public void andDelegateTo(Object answer)

andReturn

public void andReturn(Object value)

andStubAnswer

public void andStubAnswer(IAnswer<?> answer)

andStubDelegateTo

public void andStubDelegateTo(Object delegateTo)

andStubReturn

public void andStubReturn(Object value)

andStubThrow

public void andStubThrow(Throwable throwable)

andThrow

public void andThrow(Throwable throwable)

assertRecordState

public void assertRecordState()

asStub

public void asStub()

checkIsUsedInOneThread

public void checkIsUsedInOneThread(boolean shouldBeUsedInOneThread)

checkOrder

public void checkOrder(boolean value)

invoke

public Object invoke(Invocation invocation)

makeThreadSafe

public void makeThreadSafe(boolean threadSafe)

replay

public void replay()

times

public void times(Range range)

verify

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