org.easymock.internal

Class MocksBehavior

Implemented Interfaces:
IMocksBehavior

public class MocksBehavior
extends java.lang.Object
implements IMocksBehavior

Constructor Summary

MocksBehavior(boolean nice)

Method Summary

Result
addActual(Invocation actual)
void
addExpected(ExpectedInvocation expected, Result result, Range count)
void
addStub(ExpectedInvocation expected, Result result)
void
checkOrder(boolean value)
LegacyMatcherProvider
getLegacyMatcherProvider()
void
setDefaultMatcher(ArgumentsMatcher matcher)
void
setMatcher(Method method, ArgumentsMatcher matcher)
void
verify()

Constructor Details

MocksBehavior

public MocksBehavior(boolean nice)

Method Details

addActual

public final Result addActual(Invocation actual)

addExpected

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

addStub

public final void addStub(ExpectedInvocation expected,
                          Result result)

checkOrder

public void checkOrder(boolean value)

getLegacyMatcherProvider

public LegacyMatcherProvider getLegacyMatcherProvider()

setDefaultMatcher

public void setDefaultMatcher(ArgumentsMatcher matcher)

setMatcher

public void setMatcher(Method method,
                       ArgumentsMatcher matcher)

verify

public void verify()