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 TypeInterfaceDescriptioninterface
Generates return values for invocations on mock objects.interface
A strategy for responding to unexpected method calls.Classes in org.spockframework.mock that implement IResponseGeneratorModifier and TypeClassDescriptionclass
A response strategy that delegates method calls to the real object underlying the mock (if any).class
A response strategy that returns zero, an "empty" object, or a "dummy" object, depending on the method's declared return type.class
A 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 TypeClassDescriptionclass
class
class
class
Generates result values from an iterable object.class
class
class
Returns 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 TypeClassDescriptionclass
class
class
Methods 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)