Package com.mockobjects.dynamic
Class DefaultCallFactory
java.lang.Object
com.mockobjects.dynamic.DefaultCallFactory
- All Implemented Interfaces:
CallFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateCallSignature(String methodName, ConstraintMatcher constraints, Callable call) createReturnStub(Object result) createThrowStub(Throwable exception)
-
Constructor Details
-
DefaultCallFactory
public DefaultCallFactory()
-
-
Method Details
-
createReturnStub
- Specified by:
createReturnStubin interfaceCallFactory
-
createThrowStub
- Specified by:
createThrowStubin interfaceCallFactory
-
createCallExpectation
- Specified by:
createCallExpectationin interfaceCallFactory
-
createCallSignature
public Callable createCallSignature(String methodName, ConstraintMatcher constraints, Callable call) - Specified by:
createCallSignaturein interfaceCallFactory
-
createVoidStub
- Specified by:
createVoidStubin interfaceCallFactory
-