code: def test_get_max_rels_index(data_indexer):
      print(data_indexer)
      max_rels = data_indexer.backend._get_max_rels_index()
      assert (
          max_rels == 1
      ), "Max index should be 1 for 2 unique relations, instead got {}.".format(
          max_rels
      )
  
file_path: AmpliGraph/tests/ampligraph/datasets/test_data_indexer.py
imports: from ampligraph.datasets.data_indexer import DataIndexer
  import numpy
  import pytest
label_desc: Use image node_id 5 for calling a global function with example usage: test_get_max_rels_index(data_indexer) without return types