@Test public void testLocalizedTitleKey() throws IOException { final Map<String, Object> container = new LinkedHashMap<>(); final Map<String, Object> messageObject = new LinkedHashMap<>(); final Map<String, Object> apnsObject = new LinkedHashMap<>(); apnsObject.put("localized-title-key", "myLocalizedTitle"); messageObject.put("alert", "Howdy"); messageObject.put("apns",apnsObject); container.put("message", messageObject); final UnifiedPushMessage unifiedPushMessage = parsePushMessage(container); assertEquals("myLocalizedTitle", unifiedPushMessage.getMessage().getApns().getLocalizedTitleKey()); }
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();  }