class_docstr: Tests for integration with higher level components of PennyLane.
class_docstr_tok: ["Tests","for","integration","with","higher","level","components","of","PennyLane","."]
docstr: Tests that the Hamiltonian is not split for shots=None
  and broadcasting using the autograd device.
docstr_tok: ["Tests","that","the","Hamiltonian","is","not","split","for","shots=None","and","broadcasting","using","the","autograd","device","."]
code: def test_do_not_split_analytic_autograd_broadcasted(self, mocker):
      """Tests that the Hamiltonian is not split for shots=None
      and broadcasting using the autograd device."""
      dev = qml.device("default.qubit.autograd", wires=2)
      H = qml.Hamiltonian(
          np.array([0.1, 0.2]), [qml.PauliX(0), qml.PauliZ(1)]
      )
  
      @qml.qnode(dev, diff_method="backprop", interface="autograd")
      def circuit():
          qml.RX(np.zeros(5), 0)
          return qml.expval(H)
  
      spy = mocker.spy(dev, "expval")
  
      circuit()
      # evaluated one expval altogether
      assert spy.call_count == 1
  
imports: import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.devices.default_qubit_autograd import DefaultQubitAutograd
  from pennylane import DeviceError
label_desc: Use image node_id 2 for calling the TestHighLevelIntegration obj's underlying member method code with example usage: obj.test_do_not_split_analytic_autograd_broadcasted(mocker) and returns: qml