code: @SuppressWarnings("unchecked")
      public <T> T trackEntity(Class<T> clazz, DocumentInfo documentFound) {
          return (T) trackEntity(clazz, documentFound.getId(), documentFound.getDocument(), documentFound.getMetadata(), noTracking);
      }
docs: Tracks the entity inside the unit of work
  
  @param <T>           entity class
  @param clazz         entity class
  @param documentFound Document info
  @return tracked entity