@Test public void testPriorityEnumHighMapping() throws IOException { final ObjectMapper mapper = new ObjectMapper(); Message message = mapper.readValue(getClass().getResourceAsStream("/message-high-priority.json"), UnifiedPushMessage.class).getMessage(); assertEquals(Priority.HIGH, message.getPriority()); }
public Message getMessage() { return message; }
UnifiedPushMessage implements Serializable { public Message getMessage() { return message; } }
UnifiedPushMessage implements Serializable { public Message getMessage() { return message; }  }
UnifiedPushMessage implements Serializable { public Message getMessage() { return message; }  Criteria getCriteria(); void setCriteria(Criteria criteria); Config getConfig(); void setConfig(Config config); Message getMessage(); void setMessage(Message message); String toStrippedJsonString(); String toMinimizedJsonString(); String toJsonString(); @Override String toString(); }
UnifiedPushMessage implements Serializable { public Message getMessage() { return message; }  Criteria getCriteria(); void setCriteria(Criteria criteria); Config getConfig(); void setConfig(Config config); Message getMessage(); void setMessage(Message message); String toStrippedJsonString(); String toMinimizedJsonString(); String toJsonString(); @Override String toString();  }