com.mockobjects.dynamic

Class DefaultCallFactory

public class DefaultCallFactory extends Object implements CallFactory

Method Summary
CallablecreateCallExpectation(Callable call)
CallablecreateCallSignature(String methodName, ConstraintMatcher constraints, Callable call)
CallablecreateReturnStub(Object result)
CallablecreateThrowStub(Throwable exception)
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 exception)

createVoidStub

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