def METHOD_NAME(self, twoq_gate, oneq_gate1, oneq_gate2):
    """Validate we can collect blocks irrespective of gate types in the circuit."""
    qc = QuantumCircuit(3)
    # Block 1 - q[0] and q[1]
    qc.append(oneq_gate1, [0])
    qc.append(oneq_gate2, [1])
    qc.append(twoq_gate, [0, 1])
    qc.append(oneq_gate1, [0])
    qc.append(oneq_gate2, [1])
    # Block 2 - q[1] and q[2]
    qc.append(oneq_gate1, [1])
    qc.append(oneq_gate2, [2])
    qc.append(twoq_gate, [1, 2])
    qc.append(oneq_gate1, [1])
    qc.append(oneq_gate2, [2])
    # Block 3 - q[0] and q[1]
    qc.append(oneq_gate1, [0])
    qc.append(oneq_gate2, [1])
    qc.append(twoq_gate, [0, 1])
    qc.append(oneq_gate1, [0])
    qc.append(oneq_gate2, [1])
    pass_manager = PassManager()
    pass_manager.append(Collect2qBlocks())
    pass_manager.run(qc)
    self.assertEqual(len(pass_manager.property_set["block_list"]), 3)