class_docstr: Test the user interface of the op_transform, and ensure it applies
  and works well for all combinations of inputs and styles
docstr: Test that a transform can be applied to a quantum function
  with multiple operations as long as it is registered _how_
  the transform applies to multiple operations.
docstr_tok: ["Test","that","a","transform","can","be","applied","to","a","quantum","function","with","multiple","operations","as","long","as","it","is","registered","_how_","the","transform","applies","to","multiple","operations","."]
code: def test_multiple_operator_qfunc(self, mocker):
      """Test that a transform can be applied to a quantum function
      with multiple operations as long as it is registered _how_
      the transform applies to multiple operations."""
      spy = mocker.spy(qml.op_transform, "_make_tape")
  
      @qml.op_transform
      def my_transform(op):
          return op.name
  
      @my_transform.tape_transform
      def my_transform(tape):
          return [op.name for op in tape.operations]
  
      @my_transform
      def multi_op_qfunc(x):
          if x > 1:
              qml.RX(x, wires=0)
              qml.RY(0.65, wires="a")
          else:
              qml.RZ(x, wires="b")
  
      res = multi_op_qfunc(1.5)
      assert res == ["RX", "RY"]
      # check default wire order
      assert spy.spy_return[1].tolist() == [0, "a"]
  
      res = multi_op_qfunc(0.5)
      assert res == ["RZ"]
      # check default wire order
      assert spy.spy_return[1].tolist() == ["b"]
  
imports: import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.transforms.op_transforms import OperationTransformError
label_desc: Use image node_id 5 for calling the TestUI obj's underlying member method code with example usage: obj.test_multiple_operator_qfunc(mocker) and returns: op, unknown