code: private <T> CoreRemoteMongoCollection<T> getRemoteCollection(
        final MongoNamespace namespace,
        final Class<T> resultClass
    ) {
      return remoteClient
          .getDatabase(namespace.getDatabaseName())
          .getCollection(namespace.getCollectionName(), resultClass);
    }
docs: Returns the remote collection representing the given namespace.
  
  @param namespace   the namespace referring to the remote collection.
  @param resultClass the {@link Class} that represents documents in the collection.
  @param <T>         the type documents in the collection.
  @return the remote collection representing the given namespace.