def METHOD_NAME(self):
    """Test generating bit link drawings of measurements when clbits is enabled."""
    circ = QuantumCircuit(2, 2)
    circ.measure(0, 0)
    circ.measure(1, 1)
    circ = transpile(
        circ,
        scheduling_method="alap",
        basis_gates=[],
        instruction_durations=[("measure", 0, 2000), ("measure", 1, 2000)],
        optimization_level=0,
    )
    canvas = core.DrawerCanvas(stylesheet=self.style)
    canvas.formatter.update({"control.show_clbits": True})
    canvas.layout = {
        "bit_arrange": layouts.qreg_creg_ascending,
        "time_axis_map": layouts.time_map_in_dt,
    }
    canvas.generator = {
        "gates": [],
        "bits": [],
        "barriers": [],
        "gate_links": [generators.gen_gate_link],
    }
    canvas.load_program(circ)
    canvas.update()
    self.assertEqual(len(canvas._output_dataset), 2)