Uses of Interface
org.spockframework.mock.IDefaultResponse
-
Packages that use IDefaultResponse Package Description org.spockframework.mock Spock's built-in mocking framework.org.spockframework.mock.runtime -
-
Uses of IDefaultResponse in org.spockframework.mock
Classes in org.spockframework.mock that implement IDefaultResponse Modifier and Type Class Description class
CallRealMethodResponse
A response strategy that delegates method calls to the real object underlying the mock (if any).class
EmptyOrDummyResponse
A response strategy that returns zero, an "empty" object, or a "dummy" object, depending on the method's declared return type.class
ZeroOrNullResponse
A response strategy that returns zero, false, or null, depending on the method's return type.Methods in org.spockframework.mock that return IDefaultResponse Modifier and Type Method Description IDefaultResponse
IMockConfiguration. getDefaultResponse()
Returns the default response strategy for the mock object.IDefaultResponse
IMockObject. getDefaultResponse()
Returns the default response strategy for this mock object.IDefaultResponse
MockNature. getDefaultResponse()
Returns the strategy for responding to unexpected method calls. -
Uses of IDefaultResponse in org.spockframework.mock.runtime
Methods in org.spockframework.mock.runtime that return IDefaultResponse Modifier and Type Method Description IDefaultResponse
MockConfiguration. getDefaultResponse()
IDefaultResponse
MockObject. getDefaultResponse()
Constructors in org.spockframework.mock.runtime with parameters of type IDefaultResponse Constructor Description MockObject(java.lang.String name, java.lang.Class<?> type, java.lang.Object instance, boolean verified, boolean global, IDefaultResponse defaultResponse, Specification specification)
-