Package org.spockframework.mock.runtime
Class GroovyMockInterceptor
java.lang.Object
org.spockframework.mock.runtime.GroovyMockInterceptor
- All Implemented Interfaces:
IProxyBasedMockInterceptor
-
Constructor Summary
ConstructorsConstructorDescriptionGroovyMockInterceptor
(IMockConfiguration mockConfiguration, Specification specification, groovy.lang.MetaClass mockMetaClass) -
Method Summary
-
Constructor Details
-
GroovyMockInterceptor
public GroovyMockInterceptor(IMockConfiguration mockConfiguration, Specification specification, groovy.lang.MetaClass mockMetaClass)
-
-
Method Details
-
intercept
public Object intercept(Object target, Method method, Object[] arguments, IResponseGenerator realMethodInvoker) - Specified by:
intercept
in interfaceIProxyBasedMockInterceptor
-