def METHOD_NAME(self):
    """Test dump connections with specific synapse."""
    cdict = {"rule": "pairwise_bernoulli", "p": 1.0}
    nest.ResetKernel()
    pos = nest.spatial.grid(shape=[1, 1], extent=[2.0, 2.0], edge_wrap=True)
    l1 = nest.Create("iaf_psc_alpha", positions=pos)
    l2 = nest.Create("iaf_psc_alpha", positions=pos)
    l3 = nest.Create("iaf_psc_alpha", positions=pos)
    nest.Connect(l1, l2, cdict)
    syn_model = "stdp_synapse"
    nest.Connect(l2, l3, cdict, {"synapse_model": syn_model})
    print("Num. connections:", nest.num_connections)
    filename = os.path.join(self.nest_tmpdir(), "test_DumpConns.out.cnn")
    nest.DumpLayerConnections(l2, l3, syn_model, filename)
    print("filename:", filename)
    npa = np.genfromtxt(filename)
    reference = np.array([2.0, 3.0, 1.0, 1.0, 0.0, 0.0])
    self.assertTrue(np.array_equal(npa, reference))
    os.remove(filename)