@Test
public void testGetProtonMessage() {

   MessageImpl protonMessage = createProtonMessage();
   AMQPStandardMessage message = new AMQPStandardMessage(0, encodeMessage(protonMessage), null, null);
   assertProtonMessageEquals(protonMessage, message.getProtonMessage());
   message.setAnnotation(new SimpleString("testGetProtonMessage"), "1");
   message.messageChanged();
   assertProtonMessageNotEquals(protonMessage, message.getProtonMessage());
}