Package org.spockframework.mock
Class CallRealMethodResponse
- java.lang.Object
-
- org.spockframework.mock.CallRealMethodResponse
-
- All Implemented Interfaces:
IDefaultResponse
,IResponseGenerator
@Beta public class CallRealMethodResponse extends java.lang.Object implements IDefaultResponse
A response strategy that delegates method calls to the real object underlying the mock (if any).
-
-
Field Summary
Fields Modifier and Type Field Description static CallRealMethodResponse
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
respond(IMockInvocation invocation)
-
-
-
Field Detail
-
INSTANCE
public static final CallRealMethodResponse INSTANCE
-
-
Method Detail
-
respond
public java.lang.Object respond(IMockInvocation invocation)
- Specified by:
respond
in interfaceIResponseGenerator
-
-