Uses of Interface
org.spockframework.mock.IDefaultResponse
Packages that use IDefaultResponse
Package
Description
Spock's built-in mocking framework.
-
Uses of IDefaultResponse in org.spockframework.mock
Classes in org.spockframework.mock that implement IDefaultResponseModifier and TypeClassDescriptionclassA response strategy that delegates method calls to the real object underlying the mock (if any).classA response strategy that returns zero, an "empty" object, or a "dummy" object, depending on the method's declared return type.classA response strategy that returns zero, false, or null, depending on the method's return type.Methods in org.spockframework.mock that return IDefaultResponseModifier and TypeMethodDescriptionIMockConfiguration.getDefaultResponse()Returns the default response strategy for the mock object.IMockObject.getDefaultResponse()Returns the default response strategy for this mock object.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 IDefaultResponseModifier and TypeMethodDescriptionMockConfiguration.getDefaultResponse()MockObject.getDefaultResponse()Constructors in org.spockframework.mock.runtime with parameters of type IDefaultResponseModifierConstructorDescriptionMockObject(String name, Type type, Object instance, boolean verified, boolean global, IDefaultResponse defaultResponse, Specification specification)