class_docstr: Tests of FullBatchNodeGenerator class
class_docstr_tok: ["Tests","of","FullBatchNodeGenerator","class"]
code: def test_generator_constructor_hin(self):
      Ghin = example_hin_1({})
      with pytest.raises(
          ValueError,
          match="G: expected a graph with a single node type, found a graph with node types: 'A', 'B'",
      ):
          generator = FullBatchLinkGenerator(Ghin)
  
imports: from stellargraph.core.graph import *
  from stellargraph.mapper import FullBatchGenerator, FullBatchLinkGenerator, FullBatchNodeGenerator
  import networkx
  import numpy
  import random
  import pytest
  import pandas
  import scipy.sparse
  from ..test_utils.graphs import create_graph_features, example_graph_random, example_hin_1, example_graph
label_desc: Use image node_id 3 for calling the Test_FullBatchLinkGenerator obj's underlying member method code with example usage: obj.test_generator_constructor_hin() without return types