class_docstr: Tests for the probs function
class_docstr_tok: ["Tests","for","the","probs","function"]
docstr: Tests the estimate_probability method with sampling information in the form of a counts dictionary
code: def test_estimate_probability_with_counts(self, wires, expected):
      """Tests the estimate_probability method with sampling information in the form of a counts dictionary"""
      counts = {
          "101": 2,
          "100": 2,
          "111": 3,
          "000": 1,
          "011": 1,
          "110": 1,
      }
  
      wire_order = qml.wires.Wires((2, 1, 0))
  
      res = qml.probs(wires=wires).process_counts(
          counts=counts, wire_order=wire_order
      )
  
      assert np.allclose(res, expected)
  
imports: import numpy
  import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.measurements import MeasurementProcess, Probability, ProbabilityMP, Shots
  from pennylane.queuing import AnnotatedQueue
label_desc: Use image node_id 34 for calling the TestProbs obj's underlying member method code with example usage: obj.test_estimate_probability_with_counts(wires, expected) without return types