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 classCallRealMethodResponseA response strategy that delegates method calls to the real object underlying the mock (if any).classEmptyOrDummyResponseA response strategy that returns zero, an "empty" object, or a "dummy" object, depending on the method's declared return type.classZeroOrNullResponseA 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 IDefaultResponseIMockConfiguration. getDefaultResponse()Returns the default response strategy for the mock object.IDefaultResponseIMockObject. getDefaultResponse()Returns the default response strategy for this mock object.IDefaultResponseMockNature. 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 IDefaultResponseMockConfiguration. getDefaultResponse()IDefaultResponseMockObject. 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)
-