docstr: Verify that matrices are correctly expanded when a wire order is provided
code: def test_matrix_expansion(self, op_class):
      """Verify that matrices are correctly expanded when a wire order is provided"""
      res = qml.matrix(op_class, wire_order=[1, 0, 2])(wires=0)
      expected = np.kron(
          np.eye(2), np.kron(op_class(wires=0).matrix(), np.eye(2))
      )
      assert np.allclose(res, expected)
  
imports: from functools import reduce, partial
  from warnings import catch_warnings
  import pytest
  from gate_data import I, X, Y, Z, H, S, CNOT, Rotx, Roty
  import pennylane
  from pennylane import numpy
  from pennylane.transforms.op_transforms import OperationTransformError
label_desc: Use image node_id 4 for calling the TestSingleOperation obj's underlying member method code with example usage: obj.test_matrix_expansion(op_class) without return types