class_docstr: Tests for the counts function
docstr: Test that the right measurement class is queued.
docstr_tok: ["Test","that","the","right","measurement","class","is","queued","."]
code: def test_queue(self):
      """Test that the right measurement class is queued."""
  
      with qml.queuing.AnnotatedQueue() as q:
          op = qml.PauliX(0)
          m = qml.counts(op)
  
      assert q.queue[0] is m
      assert isinstance(m, CountsMP)
  
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 2 for calling the TestCounts obj's underlying member method code with example usage: obj.test_queue() without return types