Uses of Interface
org.spockframework.mock.IResponseGenerator
-
Packages that use IResponseGenerator Package Description org.spockframework.mock Spock's built-in mocking framework.org.spockframework.mock.response org.spockframework.mock.runtime -
-
Uses of IResponseGenerator in org.spockframework.mock
Subinterfaces of IResponseGenerator in org.spockframework.mock Modifier and Type Interface Description interfaceIChainableResponseGeneratorGenerates return values for invocations on mock objects.interfaceIDefaultResponseA strategy for responding to unexpected method calls.Classes in org.spockframework.mock that implement IResponseGenerator 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. -
Uses of IResponseGenerator in org.spockframework.mock.response
Classes in org.spockframework.mock.response that implement IResponseGenerator Modifier and Type Class Description classCodeResponseGeneratorclassConstantResponseGeneratorclassDefaultResponseGeneratorclassIterableResponseGeneratorGenerates result values from an iterable object.classResponseGeneratorChainclassSingleResponseGeneratorclassWildcardResponseGeneratorReturns 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 IResponseGenerator Modifier and Type Class Description classCglibRealMethodInvokerclassFailingRealMethodInvokerclassGroovyRealMethodInvokerMethods in org.spockframework.mock.runtime with parameters of type IResponseGenerator Modifier and Type Method Description java.lang.ObjectGroovyMockInterceptor. intercept(java.lang.Object target, java.lang.reflect.Method method, java.lang.Object[] arguments, IResponseGenerator realMethodInvoker)java.lang.ObjectIProxyBasedMockInterceptor. intercept(java.lang.Object target, java.lang.reflect.Method method, java.lang.Object[] arguments, IResponseGenerator realMethodInvoker)java.lang.ObjectJavaMockInterceptor. intercept(java.lang.Object target, java.lang.reflect.Method method, java.lang.Object[] arguments, IResponseGenerator realMethodInvoker)Constructors in org.spockframework.mock.runtime with parameters of type IResponseGenerator Constructor Description MockInteraction(int line, int column, java.lang.String text, int minCount, int maxCount, java.util.List<IInvocationConstraint> constraints, IResponseGenerator responseGenerator)MockInvocation(IMockObject mockObject, IMockMethod method, java.util.List<java.lang.Object> arguments, IResponseGenerator realMethodInvoker)
-