com.mockobjects.dynamic

Interface CallFactory

public interface CallFactory

Method Summary
CallablecreateCallExpectation(Callable call)
CallablecreateCallSignature(String methodName, ConstraintMatcher constraints, Callable call)
CallablecreateReturnStub(Object result)
CallablecreateThrowStub(Throwable throwable)
CallablecreateVoidStub()

Method Detail

createCallExpectation

public Callable createCallExpectation(Callable call)

createCallSignature

public Callable createCallSignature(String methodName, ConstraintMatcher constraints, Callable call)

createReturnStub

public Callable createReturnStub(Object result)

createThrowStub

public Callable createThrowStub(Throwable throwable)

createVoidStub

public Callable createVoidStub()
Copyright © 2002 Mock Objects. All Rights Reserved.