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:
createReturnStub
in interfaceCallFactory
-
createThrowStub
- Specified by:
createThrowStub
in interfaceCallFactory
-
createCallExpectation
- Specified by:
createCallExpectation
in interfaceCallFactory
-
createCallSignature
public Callable createCallSignature(String methodName, ConstraintMatcher constraints, Callable call) - Specified by:
createCallSignature
in interfaceCallFactory
-
createVoidStub
- Specified by:
createVoidStub
in interfaceCallFactory
-