@Override
    public short getTypeCode() {
        return MessageType.TYPE_HEARTBEAT_MSG;
    }
@Test
    void getTypeCode() {
        Assertions.assertEquals(MessageType.TYPE_HEARTBEAT_MSG, HeartbeatMessage.PING.getTypeCode());
        Assertions.assertEquals(MessageType.TYPE_HEARTBEAT_MSG, HeartbeatMessage.PONG.getTypeCode());
    }