Interface PrivateMethodVerification

    • Method Detail

      • invoke

        void invoke​(Object... arguments)
             throws Exception
        Verify calls to private methods without having to specify the method name. The method will be looked up using the parameter types (if possible).
        Throws:
        Exception - If something unexpected goes wrong.
      • invoke

        void invoke​(String methodToVerify,
                    Object... arguments)
             throws Exception
        Verify a private method call by specifying the method name of the method to verify.
        Throws:
        Exception - If something unexpected goes wrong.