code: static DocumentVersionInfo getRemoteVersionInfo(final BsonDocument remoteDocument) {
      final BsonDocument version = getDocumentVersionDoc(remoteDocument);
      return new DocumentVersionInfo(
              version,
              remoteDocument != null
                      ? BsonUtils.getDocumentId(remoteDocument) : null
      );
    }
docs: Returns the current version info for a provided remote document.
  @param remoteDocument the remote BSON document from which to extract version info
  @return a DocumentVersionInfo