com.mockobjects.dynamic

Interface CallFactory

Known Implementing Classes:
DefaultCallFactory

public interface CallFactory

Method Summary

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

Method Details

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.