def METHOD_NAME():
    """Test that the measurement helper function can set data on a tensor observable."""
    mat = qml.numpy.eye(2)
    obs = qml.operation.Tensor(qml.PauliZ(0), qml.Hermitian(mat, 1))
    m = qml.expval(obs)
    unwrapped_m = _convert_measurement_to_numpy_data(m)
    assert qml.math.get_interface(*unwrapped_m.obs.data) == "numpy"