code: def test_get_hops(self, setup):
      neighbors = LOCAL_KG.get_hops(Vertex(f"{URL}#Alice"))
      predicates = [neighbor[0] for neighbor in neighbors]
      objects = [neighbor[1] for neighbor in neighbors]
  
      assert len(neighbors) == 2
      assert len(predicates) == 2
      assert len(objects) == 2
  
      assert {predicate.name for predicate in predicates} == {
          f"{URL}#knows"
      }
      assert Vertex(f"{URL}#Bob") in objects
      assert Vertex(f"{URL}#Dean") in objects
  
      neighbors = LOCAL_KG.get_hops(
          Vertex(f"{URL}#Bob"), is_reverse=True
      )
      predicates = [neighbor[0] for neighbor in neighbors]
      objects = [neighbor[1] for neighbor in neighbors]
  
      assert len(neighbors) == 1
      assert len(predicates) == 1
      assert len(objects) == 1
      assert Vertex(f"{URL}#Alice") in objects
  
imports: import numpy
  import pytest
  from pyrdf2vec.graphs import KG, Vertex
label_desc: Use image node_id 6 for calling the TestKG obj's underlying member method code with example usage: obj.test_get_hops(setup) without return types