com.mockobjects.dynamic

Class DefaultCallFactory

Implemented Interfaces:
CallFactory

public class DefaultCallFactory
extends java.lang.Object
implements CallFactory

Method Summary

Callable
createCallExpectation(Callable call)
Callable
createCallSignature(String methodName, ConstraintMatcher constraints, Callable call)
Callable
createReturnStub(Object result)
Callable
createThrowStub(Throwable exception)
Callable
createVoidStub()

Method Details

createCallExpectation

public Callable createCallExpectation(Callable call)
Specified by:
createCallExpectation in interface CallFactory

createCallSignature

public Callable createCallSignature(String methodName,
                                    ConstraintMatcher constraints,
                                    Callable call)
Specified by:
createCallSignature in interface CallFactory

createReturnStub

public Callable createReturnStub(Object result)
Specified by:
createReturnStub in interface CallFactory

createThrowStub

public Callable createThrowStub(Throwable exception)
Specified by:
createThrowStub in interface CallFactory

createVoidStub

public Callable createVoidStub()
Specified by:
createVoidStub in interface CallFactory

Copyright © 2002 Mock Objects. All Rights Reserved.