set a proxy for a method . whenever this method is called the invocation handler will be invoked instead . concode_field_sep Map<Object,MethodInvocationControl> instanceMocks concode_elem_sep Map<Class<?>,NewInvocationControl<?>> newSubstitutions concode_elem_sep Set<Method> suppressMethod concode_elem_sep Set<Runnable> afterMethodRunners concode_elem_sep Set<String> suppressFieldTypes concode_elem_sep Set<Object> objectsToAutomaticallyReplayAndVerify concode_elem_sep Map<Class<?>,MethodInvocationControl> classMocks concode_elem_sep Map<String,Object> additionalState concode_elem_sep Set<String> suppressStaticInitializers concode_elem_sep Set<Field> suppressField concode_elem_sep Map<Method,Object> substituteReturnValues concode_elem_sep Map<Method,InvocationHandler> methodProxies concode_elem_sep Set<Constructor<?>> suppressConstructor concode_field_sep MethodInvocationControl removeClassMethodInvocationControl concode_elem_sep void addFieldToSuppress concode_elem_sep T getAdditionalState concode_elem_sep boolean shouldStubMethod concode_elem_sep boolean shouldSuppressConstructor concode_elem_sep void remove concode_elem_sep void addAfterMethodRunner concode_elem_sep boolean shouldSuppressStaticInitializerFor concode_elem_sep Object getMethodToStub concode_elem_sep Set<Object> getObjectsToAutomaticallyReplayAndVerify concode_elem_sep void addConstructorToSuppress concode_elem_sep InvocationHandler getMethodProxy concode_elem_sep boolean shouldSuppressMethod concode_elem_sep void addObjectsToAutomaticallyReplayAndVerify concode_elem_sep void addFieldTypeToSuppress concode_elem_sep MethodInvocationControl getStaticMethodInvocationControl concode_elem_sep Object putMethodToStub concode_elem_sep MethodInvocationControl putInstanceMethodInvocationControl concode_elem_sep void removeSuppressStaticInitializer concode_elem_sep boolean shouldSuppressField concode_elem_sep void clear concode_elem_sep void addSuppressStaticInitializer concode_elem_sep MethodInvocationControl getInstanceMethodInvocationControl concode_elem_sep InvocationHandler removeMethodProxy concode_elem_sep boolean hasMethodProxy concode_elem_sep Object putAdditionalState concode_elem_sep NewInvocationControl<?> getNewInstanceControl concode_elem_sep MethodInvocationControl removeInstanceMethodInvocationControl concode_elem_sep Object removeAdditionalState concode_elem_sep void addMethodToSuppress concode_elem_sep MethodInvocationControl putStaticMethodInvocationControl concode_elem_sep NewInvocationControl<?> putNewInstanceControl
InvocationHandler function ( Method arg0 , InvocationHandler arg1 ) { return methodProxies . put ( arg0 , arg1 ) ; }