### Question:
MessageMoveRequest implements Serializable { public int getMessageCount(RqueueWebConfig rqueueWebConfig) { if (others == null) { this.others = new HashMap<>(); return rqueueWebConfig.getMaxMessageMoveCount(); } Integer requestMessageCount = (Integer) others.get("maxMessages"); if (requestMessageCount == null) { return rqueueWebConfig.getMaxMessageMoveCount(); } return requestMessageCount; } MessageMoveRequest(String src, DataType srcType, String dst, DataType dstType); String validationMessage(); int getMessageCount(RqueueWebConfig rqueueWebConfig);  }### Answer:
@Test public void getMessageCount() { RqueueWebConfig rqueueWebConfig = new RqueueWebConfig(); rqueueWebConfig.setMaxMessageMoveCount(100); MessageMoveRequest request = new MessageMoveRequest(); assertEquals(100, request.getMessageCount(rqueueWebConfig)); Map<String, Serializable> other = new HashMap<>(); request.setOthers(other); assertEquals(100, request.getMessageCount(rqueueWebConfig)); other.put("maxMessages", 200); assertEquals(200, request.getMessageCount(rqueueWebConfig)); }