def METHOD_NAME(self):
    """Correct extent and center with single node"""
    r = 0.5
    param = nest.random.uniform(-r, r)
    free_positions = nest.spatial.free(param, num_dimensions=2, edge_wrap=True)
    with self.assertRaises(nest.kernel.NESTError):
        nest.Create("iaf_psc_alpha", positions=free_positions)
    extent = [2 * r, 2 * r]
    free_positions_extent = nest.spatial.free(param, edge_wrap=True, extent=extent)
    nodes = nest.Create("iaf_psc_alpha", positions=free_positions_extent)
    spatial = nodes.spatial  # Extract spatial information
    self.assertEqual(spatial["center"], spatial["positions"][0])  # Center will be at the position of the only node
    self.assertEqual(spatial["extent"], tuple(extent))