def METHOD_NAME(self, method):
    # method="replace" may change original circuit
    qc = QuantumCircuit(2)
    qc.h(0)
    qc.cx(0, 1)
    qc.measure_all()
    def func(op, qubits):
        return QuantumCircuit(len(qubits))
    noise_pass = LocalNoisePass(func=func, method=method)
    actual = noise_pass(qc)
    self.assertEqual(qc, actual)