@Test
public void testGetMessageAnnotationWhenMessageHasEmptyAnnotationsMap() {

    Map<Symbol, Object> messageAnnotationsMap = new HashMap<Symbol,Object>();
    Message message = Proton.message();
    message.setMessageAnnotations(new MessageAnnotations(messageAnnotationsMap));
    assertNull(AmqpMessageSupport.getMessageAnnotation("x-opt-test", message));
}