public static final XAXid build(String xid, long branchId) {
        return new XABranchXid(xid, branchId);
    }
@Test
    public void testXid() throws Throwable {
        long mockBranchId = 1582688600006L;
        String mockXid = "127.0.0.1:8091:" + mockBranchId;
        XAXid xaXid = XAXidBuilder.build(mockXid, mockBranchId);

        XAXid retrievedXAXid = XAXidBuilder.build(xaXid.getGlobalTransactionId(), xaXid.getBranchQualifier());
        String retrievedXid = retrievedXAXid.getGlobalXid();
        long retrievedBranchId = retrievedXAXid.getBranchId();

        Assertions.assertEquals(mockXid, retrievedXid);
        Assertions.assertEquals(mockBranchId, retrievedBranchId);

    }