class_docstr: Tests of FullBatchNodeGenerator class
class_docstr_tok: ["Tests","of","FullBatchNodeGenerator","class"]
code: def test_weighted(self):
      G = example_graph(feature_size=2, edge_weights=True)
  
      generator = FullBatchNodeGenerator(G, weighted=True, method=None)
      np.testing.assert_array_equal(
          generator.Aadj.todense(),
          [
              [0, 0.1, 0, 20.0],
              [0.1, 0, 1.0, 1.3],
              [0, 1.0, 0, 0],
              [20.0, 1.3, 0, 0],
          ],
      )
  
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 13 for calling the Test_FullBatchNodeGenerator obj's underlying member method code with example usage: obj.test_weighted() without return types