code: static void throwExceptionIfConstructorWasNotFound(Class<?> type, Constructor<?> potentialConstructor,
                                                         Object... arguments) {
          if (potentialConstructor == null) {
              String message = "No constructor found in class '" + getOriginalUnmockedType(type).getName() + "' with "
                                       + "parameter types: [ " + getArgumentTypesAsString(arguments) + " ].";
              throw new ConstructorNotFoundException(message);
          }
      }
docs: Throw exception if constructor was not found.
  
  @param type                 the type
  @param potentialConstructor the potential constructor
  @param arguments            the arguments