IProxyFactory createProxyFactory
protected IProxyFactory createProxyFactory(Class toMock)
T createMock
public T createMock(Class toMock)
T createMock
public T createMock(String name,
Class toMock)
andAnswer
public IExpectationSetters andAnswer(IAnswer answer)
andReturn
public IExpectationSetters andReturn(Object value)
andStubAnswer
public void andStubAnswer(IAnswer answer)
andStubReturn
public void andStubReturn(Object value)
andStubThrow
public void andStubThrow(Throwable throwable)
andThrow
public IExpectationSetters andThrow(Throwable throwable)
anyTimes
public IExpectationSetters anyTimes()
asStub
public void asStub()
atLeastOnce
public IExpectationSetters atLeastOnce()
checkOrder
public void checkOrder(boolean value)
getState
public IMocksControlState getState()
once
public IExpectationSetters once()
replay
public void replay()
reset
public final void reset()
setLegacyDefaultMatcher
public void setLegacyDefaultMatcher(ArgumentsMatcher matcher)
setLegacyDefaultReturnValue
public void setLegacyDefaultReturnValue(Object value)
setLegacyDefaultThrowable
public void setLegacyDefaultThrowable(Throwable throwable)
setLegacyDefaultVoidCallable
public void setLegacyDefaultVoidCallable()
setLegacyMatcher
public void setLegacyMatcher(ArgumentsMatcher matcher)
times
public IExpectationSetters times(int times)
times
public IExpectationSetters times(int min,
int max)
verify
public void verify()