Uses of Interface
org.spockframework.mock.IResponseGenerator
Packages that use IResponseGenerator
Package
Description
Spock's built-in mocking framework.
-
Uses of IResponseGenerator in org.spockframework.mock
Subinterfaces of IResponseGenerator in org.spockframework.mockModifier and TypeInterfaceDescriptioninterfaceGenerates return values for invocations on mock objects.interfaceA strategy for responding to unexpected method calls.Classes in org.spockframework.mock that implement IResponseGeneratorModifier 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. -
Uses of IResponseGenerator in org.spockframework.mock.response
Classes in org.spockframework.mock.response that implement IResponseGeneratorModifier and TypeClassDescriptionclassclassclassclassGenerates result values from an iterable object.classclassclassReturns the default value for the invoked method's return type. -
Uses of IResponseGenerator in org.spockframework.mock.runtime
Classes in org.spockframework.mock.runtime that implement IResponseGeneratorModifier and TypeClassDescriptionclassclassclassMethods in org.spockframework.mock.runtime with parameters of type IResponseGeneratorModifier and TypeMethodDescriptionGroovyMockInterceptor.intercept(Object target, Method method, Object[] arguments, IResponseGenerator realMethodInvoker) IProxyBasedMockInterceptor.intercept(Object target, Method method, Object[] arguments, IResponseGenerator realMethodInvoker) JavaMockInterceptor.intercept(Object target, Method method, Object[] arguments, IResponseGenerator realMethodInvoker) Constructors in org.spockframework.mock.runtime with parameters of type IResponseGeneratorModifierConstructorDescriptionMockInteraction(int line, int column, String text, int minCount, int maxCount, List<IInvocationConstraint> constraints, IResponseGenerator responseGenerator) MockInvocation(IMockObject mockObject, IMockMethod method, List<Object> arguments, IResponseGenerator realMethodInvoker)