class_docstr: Tests of FullBatchNodeGenerator class
class_docstr_tok: ["Tests","of","FullBatchNodeGenerator","class"]
code: def test_generator_constructor_wrong_G_type(self):
      with pytest.raises(TypeError):
          generator = RelationalFullBatchNodeGenerator(
              self.G.to_networkx()
          )
  
imports: from stellargraph.core.graph import *
  from stellargraph.mapper.full_batch_generators import RelationalFullBatchNodeGenerator
  import networkx
  import numpy
  import pytest
  import pandas
  import scipy.sparse
  from ..test_utils.graphs import relational_create_graph_features, example_hin_1
label_desc: Use image node_id 2 for calling the Test_RelationalFullBatchNodeGenerator obj's underlying member method code with example usage: obj.test_generator_constructor_wrong_G_type() without return types