org.easymock.internal
Class MocksBehavior
java.lang.Object
org.easymock.internal.MocksBehavior
- All Implemented Interfaces:
- java.io.Serializable, ILegacyMatcherMethods, IMocksBehavior
public class MocksBehavior
- extends java.lang.Object
- implements IMocksBehavior, java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MocksBehavior
public MocksBehavior(boolean nice)
addStub
public final void addStub(ExpectedInvocation expected,
Result result)
- Specified by:
addStub
in interface IMocksBehavior
addExpected
public void addExpected(ExpectedInvocation expected,
Result result,
Range count)
- Specified by:
addExpected
in interface IMocksBehavior
addActual
public final Result addActual(Invocation actual)
- Specified by:
addActual
in interface IMocksBehavior
verify
public void verify()
- Specified by:
verify
in interface IMocksBehavior
checkOrder
public void checkOrder(boolean value)
- Specified by:
checkOrder
in interface IMocksBehavior
makeThreadSafe
public void makeThreadSafe(boolean isThreadSafe)
- Specified by:
makeThreadSafe
in interface IMocksBehavior
isThreadSafe
public boolean isThreadSafe()
- Specified by:
isThreadSafe
in interface IMocksBehavior
checkCurrentThreadSameAsLastThread
public void checkCurrentThreadSameAsLastThread()
- Specified by:
checkCurrentThreadSameAsLastThread
in interface IMocksBehavior
getLegacyMatcherProvider
public LegacyMatcherProvider getLegacyMatcherProvider()
setDefaultMatcher
public void setDefaultMatcher(ArgumentsMatcher matcher)
- Specified by:
setDefaultMatcher
in interface ILegacyMatcherMethods
setMatcher
public void setMatcher(java.lang.reflect.Method method,
ArgumentsMatcher matcher)
- Specified by:
setMatcher
in interface ILegacyMatcherMethods