com.mockobjects.dynamic
Interface CallFactory

All Known Implementing Classes:
DefaultCallFactory

public interface CallFactory


Method Summary
 Callable createCallExpectation(Callable call)
           
 Callable createCallSignature(java.lang.String methodName, ConstraintMatcher constraints, Callable call)
           
 Callable createReturnStub(java.lang.Object result)
           
 Callable createThrowStub(java.lang.Throwable throwable)
           
 Callable createVoidStub()
           
 

Method Detail

createReturnStub

public Callable createReturnStub(java.lang.Object result)

createThrowStub

public Callable createThrowStub(java.lang.Throwable throwable)

createVoidStub

public Callable createVoidStub()

createCallExpectation

public Callable createCallExpectation(Callable call)

createCallSignature

public Callable createCallSignature(java.lang.String methodName,
                                    ConstraintMatcher constraints,
                                    Callable call)


Copyright © 2002 Mock Objects. All Rights Reserved.