class_docstr: Tests of FullBatchNodeGenerator class
class_docstr_tok: ["Tests","of","FullBatchNodeGenerator","class"]
code: def test_fullbatch_generator_init_heterogeneous_nodes(self):
      G = example_hin_1(feature_sizes={})
      with pytest.raises(
          ValueError, match="G: expected one node type, found 'A', 'B'"
      ):
          RelationalFullBatchNodeGenerator(G)
  
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 10 for calling the Test_RelationalFullBatchNodeGenerator obj's underlying member method code with example usage: obj.test_fullbatch_generator_init_heterogeneous_nodes() without return types