### Question:
MergeResultMessage extends AbstractMessage implements MergeMessage { @Override public short getTypeCode() { return MessageType.TYPE_SEATA_MERGE_RESULT; }  AbstractResultMessage[] getMsgs(); void setMsgs(AbstractResultMessage[] msgs); @Override short getTypeCode(); @Override String toString(); public AbstractResultMessage[] msgs; }### Answer:
@Test public void getTypeCode() { MergeResultMessage mergeResultMessage = new MergeResultMessage(); assertThat(MessageType.TYPE_SEATA_MERGE_RESULT).isEqualTo(mergeResultMessage.getTypeCode()); }