code: def testConnectionApiByCore(self):
      SyncnetTestTemplates.templateConnectionApi(
          conn_represent.MATRIX, True
      )
      SyncnetTestTemplates.templateConnectionApi(
          conn_represent.LIST, True
      )
  
imports: import unittest
  from numpy import pi
  import matplotlib
  from pyclustering.nnet import initial_type, conn_represent, solve_type
  from pyclustering.cluster.tests.syncnet_templates import SyncnetTestTemplates
  from pyclustering.cluster.syncnet import syncnet
  from pyclustering.samples.definitions import SIMPLE_SAMPLES
  from pyclustering.core.tests import remove_library
label_desc: Use image node_id 25 for calling the SyncnetIntegrationTest obj's underlying member method code with example usage: obj.testConnectionApiByCore() without return types