class_docstr: Tests that the template defines the correct decomposition.
docstr: Checks the queue for the default settings.
docstr_tok: ["Checks","the","queue","for","the","default","settings","."]
code: def test_expansion(self):
      """Checks the queue for the default settings."""
  
      op = qml.AmplitudeEmbedding(features=FEATURES[0], wires=range(2))
      tape = op.expand()
  
      assert len(tape.operations) == 1
      assert tape.operations[0].name == "StatePrep"
      assert tape.batch_size is None
  
imports: import pytest
  import numpy
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 1 for calling the TestDecomposition obj's underlying member method code with example usage: obj.test_expansion() without return types