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 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 exception)
Callable
createVoidStub()
-
-
-
Method Detail
-
createReturnStub
public Callable createReturnStub(java.lang.Object result)
- Specified by:
createReturnStub
in interfaceCallFactory
-
createThrowStub
public Callable createThrowStub(java.lang.Throwable exception)
- Specified by:
createThrowStub
in interfaceCallFactory
-
createCallExpectation
public Callable createCallExpectation(Callable call)
- Specified by:
createCallExpectation
in interfaceCallFactory
-
createCallSignature
public Callable createCallSignature(java.lang.String methodName, ConstraintMatcher constraints, Callable call)
- Specified by:
createCallSignature
in interfaceCallFactory
-
createVoidStub
public Callable createVoidStub()
- Specified by:
createVoidStub
in interfaceCallFactory
-
-