docstr: Tests that all_outcomes=True works with broadcasting.
docstr_tok: ["Tests","that","all_outcomes=True","works","with","broadcasting","."]
code: def test_batched_all_outcomes(self):
      """Tests that all_outcomes=True works with broadcasting."""
      n_shots = 10
      dev = qml.device("default.qubit", wires=1, shots=n_shots)
  
      @qml.qnode(dev)
      def circuit():
          qml.pow(qml.PauliX(0), z=[1, 2])
          return qml.counts(qml.PauliZ(0), all_outcomes=True)
  
      assert circuit() == [{1: 0, -1: n_shots}, {1: n_shots, -1: 0}]
  
imports: import copy
  import numpy
  import pytest
  import pennylane
  from pennylane.measurements import AllCounts, Counts, CountsMP
  from pennylane.wires import Wires
label_desc: Use image node_id 22 for calling the TestCountsIntegration obj's underlying member method code with example usage: obj.test_batched_all_outcomes() and returns: qml