Package org.spockframework.mock
Class ZeroOrNullResponse
java.lang.Object
org.spockframework.mock.ZeroOrNullResponse
- All Implemented Interfaces:
IDefaultResponse
,IResponseGenerator
A response strategy that returns zero, false, or null, depending on the method's return type.
-
Field Summary
Fields -
Method Summary
-
Field Details
-
INSTANCE
-
-
Method Details
-
respond
- Specified by:
respond
in interfaceIResponseGenerator
-