Class MockMethodInterceptor

  • All Implemented Interfaces:
    java.io.Serializable

    public class MockMethodInterceptor
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Method Detail

      • readObject

        private void readObject​(java.io.ObjectInputStream stream)
                         throws java.io.IOException,
                                java.lang.ClassNotFoundException
        Throws:
        java.io.IOException
        java.lang.ClassNotFoundException
      • doIntercept

        java.lang.Object doIntercept​(java.lang.Object mock,
                                     java.lang.reflect.Method invokedMethod,
                                     java.lang.Object[] arguments,
                                     RealMethod realMethod)
                              throws java.lang.Throwable
        Throws:
        java.lang.Throwable
      • doIntercept

        java.lang.Object doIntercept​(java.lang.Object mock,
                                     java.lang.reflect.Method invokedMethod,
                                     java.lang.Object[] arguments,
                                     RealMethod realMethod,
                                     Location location)
                              throws java.lang.Throwable
        Throws:
        java.lang.Throwable