docstr: Tests that the all_outcomes=True option for counts works when
  multiple measurements are performed
docstr_tok: ["Tests","that","the","all_outcomes=True","option","for","counts","works","when","multiple","measurements","are","performed"]
code: def test_all_outcomes_multiple_measurements(self, mocker):
      """Tests that the all_outcomes=True option for counts works when
      multiple measurements are performed"""
  
      dev = qml.device("default.qubit.legacy", wires=2, shots=10)
      spy = mocker.spy(qml.QubitDevice, "sample")
  
      @qml.qnode(dev)
      def circuit():
          return (
              qml.sample(qml.PauliZ(0)),
              qml.counts(),
              qml.counts(all_outcomes=True),
          )
  
      res = circuit()
  
      assert len(res[0]) == 10
      assert res[1] == {"00": 10}
      assert res[2] == {"00": 10, "01": 0, "10": 0, "11": 0}
      custom_measurement_process(dev, spy)
  
imports: import numpy
  import pytest
  import pennylane
  from pennylane.measurements import Counts
  from pennylane.operation import Operator
label_desc: Use image node_id 27 for calling the TestCountsIntegration obj's underlying member method code with example usage: obj.test_all_outcomes_multiple_measurements(mocker) and returns: qml,  qml,  qml