@Test
public void testSetAnnotation() {

   AMQPStandardMessage message = new AMQPStandardMessage(0, encodedProtonMessage, null);
   final SimpleString newAnnotation = new SimpleString("testSetAnnotation");
   final String newValue = "newValue";
   message.setAnnotation(newAnnotation, newValue);
   assertEquals(newValue, message.getAnnotation(newAnnotation));
   message.reencode();
   assertEquals(newValue, message.getMessageAnnotations().getValue().get(Symbol.valueOf(newAnnotation.toString())));
}