### Question:
GlobalBeginResponse extends AbstractTransactionResponse { @Override public short getTypeCode() { return MessageType.TYPE_GLOBAL_BEGIN_RESULT; }  String getXid(); void setXid(String xid); String getExtraData(); void setExtraData(String extraData); @Override short getTypeCode();  }### Answer:
@Test public void testGetTypeCode() { GlobalBeginResponse globalBeginResponse = new GlobalBeginResponse(); Assertions.assertEquals(MessageType.TYPE_GLOBAL_BEGIN_RESULT, globalBeginResponse.getTypeCode()); }