code: public static Constructor<?> getFirstParentConstructor(Class<?> klass) {
          try {
              return getOriginalUnmockedType(klass).getSuperclass().getDeclaredConstructors()[0];
          } catch (Exception e) {
              throw new ConstructorNotFoundException("Failed to lookup constructor.", e);
          }
      }
docs: Get the first parent constructor defined in a super class of
  {@code klass}.
  
  @param klass The class where the constructor is located. {@code null}
  ).
  @return A .