Package com.mockobjects.dynamic
Class DefaultCallFactory
- java.lang.Object
-
- com.mockobjects.dynamic.DefaultCallFactory
-
- All Implemented Interfaces:
CallFactory
public class DefaultCallFactory extends java.lang.Object implements CallFactory
-
-
Constructor Summary
Constructors Constructor Description DefaultCallFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CallablecreateCallExpectation(Callable call)CallablecreateCallSignature(java.lang.String methodName, ConstraintMatcher constraints, Callable call)CallablecreateReturnStub(java.lang.Object result)CallablecreateThrowStub(java.lang.Throwable exception)CallablecreateVoidStub()
-
-
-
Method Detail
-
createReturnStub
public Callable createReturnStub(java.lang.Object result)
- Specified by:
createReturnStubin interfaceCallFactory
-
createThrowStub
public Callable createThrowStub(java.lang.Throwable exception)
- Specified by:
createThrowStubin interfaceCallFactory
-
createCallExpectation
public Callable createCallExpectation(Callable call)
- Specified by:
createCallExpectationin interfaceCallFactory
-
createCallSignature
public Callable createCallSignature(java.lang.String methodName, ConstraintMatcher constraints, Callable call)
- Specified by:
createCallSignaturein interfaceCallFactory
-
createVoidStub
public Callable createVoidStub()
- Specified by:
createVoidStubin interfaceCallFactory
-
-