code: def test_fit_transform(self, kg):
      entities = [f"{URL}#{entity}" for entity in ROOTS_WITHOUT_URL]
      transformer = RDF2VecTransformer()
      np.testing.assert_array_equal(
          RDF2VecTransformer().fit_transform(kg, entities)[0],
          transformer.fit(kg, entities).transform(kg, entities)[0],
      )
  
file_path: pyRDF2Vec/tests/test_rdf2vec.py
imports: import os
  import pickle
  import numpy
  import pytest
  from pyrdf2vec.graphs import KG, Vertex
  from pyrdf2vec.rdf2vec import RDF2VecTransformer
  from pyrdf2vec.walkers import RandomWalker, WLWalker
label_desc: Use image node_id 4 for calling the TestRDF2VecTransformer obj's underlying member method code with example usage: obj.test_fit_transform(kg) without return types