code: def test_init():
      model = GCNSupervisedGraphClassification(
          layer_sizes=[16], activations=["relu"], generator=generator
      )
  
      assert len(model.layer_sizes) == 1
      assert len(model.activations) == 1
      assert model.layer_sizes[0] == 16
      assert model.activations[0] == "relu"
  
      with pytest.raises(
          TypeError,
          match="generator: expected.*PaddedGraphGenerator, found NoneType",
      ):
          GCNSupervisedGraphClassification(
              layer_sizes=[16], activations=["relu"], generator=None
          )
  
      with pytest.raises(
          TypeError,
          match="generator: expected.*PaddedGraphGenerator, found FullBatchNodeGenerator",
      ):
          GCNSupervisedGraphClassification(
              layer_sizes=[16],
              activations=["relu"],
              generator=FullBatchNodeGenerator(graphs[0]),
          )
  
      with pytest.raises(
          ValueError,
          match="expected.*number of layers.*same as.*number of activations,found 2.*vs.*1",
      ):
          GCNSupervisedGraphClassification(
              layer_sizes=[16, 32],
              activations=["relu"],
              generator=generator,
          )
  
      with pytest.raises(
          ValueError,
          match="expected.*number of layers.*same as.*number of activations,found 1.*vs.*2",
      ):
          GCNSupervisedGraphClassification(
              layer_sizes=[32],
              activations=["relu", "elu"],
              generator=generator,
          )
  
file_path: stellargraph/tests/layer/test_graph_classification.py
imports: import numpy
  import tensorflow
  from stellargraph.layer.graph_classification import *
  from stellargraph.layer import SortPooling
  from stellargraph.mapper import PaddedGraphGenerator, FullBatchNodeGenerator
  import pytest
  from ..test_utils.graphs import example_graph_random
  from ..None import test_utils
label_desc: Use image node_id 1 for calling a global function with example usage: test_init() without return types