class_docstr: Tests that the template defines the correct decomposition.
docstr: Verifies exception raised if the
  rotation strategy is unknown.
docstr_tok: ["Verifies","exception","raised","if","the","rotation","strategy","is","unknown","."]
code: def test_exception_wrongrot(self):
      """Verifies exception raised if the
      rotation strategy is unknown."""
  
      n_wires = 1
      weights = np.zeros(shape=(1, 1))
      dev = qml.device("default.qubit", wires=n_wires)
  
      @qml.qnode(dev)
      def circuit(x=None):
          qml.QAOAEmbedding(
              features=x,
              weights=weights,
              wires=range(n_wires),
              local_field="A",
          )
          return [qml.expval(qml.PauliZ(i)) for i in range(n_wires)]
  
      with pytest.raises(ValueError, match="did not recognize"):
          circuit(x=[1])
  
imports: import pytest
  import numpy
  import pennylane
  from pennylane import numpy
label_desc: Use image node_id 4 for calling the TestDecomposition obj's underlying member method code with example usage: obj.test_exception_wrongrot() and returns: unknown