code: @SuppressWarnings("unchecked")
      public static synchronized <T> T invokeMethod(Object tested, Class<?> declaringClass, String methodToExecute,
                                                    Object... arguments) throws Exception {
          return (T) doInvokeMethod(tested, declaringClass, methodToExecute, arguments);
      }
docs: Invoke a private or inner class method in that is located in a subclass
  of the tested instance. This might be useful to test private methods.
  
  @param <T>             the generic type
  @param tested          the tested
  @param declaringClass  the declaring class
  @param methodToExecute the method to execute
  @param arguments       the arguments
  @return the t
  @throws Exception Exception that may occur when invoking this method.