@Test public void keyNotNull() { assertThat(customCommand.getKey(), notNullValue()); }
@Override public MessageKey getKey() { if (super.getKey() == null) { HashMap<String, Object> key = new HashMap<>(); key.put(COMMAND_KEY, commands.get(COMMAND_KEY)); setKey(new MessageKey(key)); } return super.getKey(); }
CustomCommand extends KeyedMessage { @Override public MessageKey getKey() { if (super.getKey() == null) { HashMap<String, Object> key = new HashMap<>(); key.put(COMMAND_KEY, commands.get(COMMAND_KEY)); setKey(new MessageKey(key)); } return super.getKey(); } }
CustomCommand extends KeyedMessage { @Override public MessageKey getKey() { if (super.getKey() == null) { HashMap<String, Object> key = new HashMap<>(); key.put(COMMAND_KEY, commands.get(COMMAND_KEY)); setKey(new MessageKey(key)); } return super.getKey(); } CustomCommand(HashMap commands); protected  CustomCommand(Parcel in); protected  CustomCommand(); }
CustomCommand extends KeyedMessage { @Override public MessageKey getKey() { if (super.getKey() == null) { HashMap<String, Object> key = new HashMap<>(); key.put(COMMAND_KEY, commands.get(COMMAND_KEY)); setKey(new MessageKey(key)); } return super.getKey(); } CustomCommand(HashMap commands); protected  CustomCommand(Parcel in); protected  CustomCommand(); HashMap<String, String> getCommands(); @Override MessageKey getKey(); @Override boolean equals(Object obj); @Override String toString(); @Override void writeToParcel(Parcel out, int flags); }
CustomCommand extends KeyedMessage { @Override public MessageKey getKey() { if (super.getKey() == null) { HashMap<String, Object> key = new HashMap<>(); key.put(COMMAND_KEY, commands.get(COMMAND_KEY)); setKey(new MessageKey(key)); } return super.getKey(); } CustomCommand(HashMap commands); protected  CustomCommand(Parcel in); protected  CustomCommand(); HashMap<String, String> getCommands(); @Override MessageKey getKey(); @Override boolean equals(Object obj); @Override String toString(); @Override void writeToParcel(Parcel out, int flags);  }