@Test
public void getTxId() {

    NeoConfig.setMagicNumber(new byte[]{0x01, 0x03, 0x00, 0x0}); // Magic number 769
    List<Signer> signers = new ArrayList<>();
    signers.add(Signer.calledByEntry(account3));
    List<Witness> witnesses = new ArrayList<>();
    witnesses.add(new Witness(Numeric.hexStringToByteArray(
            "0c407ffa520060cc7c6d89c073963ed80d94af1dd27fdbd8a1a7c56104b394e1719e2469dfb5534460c15a40216f3b74f6e384cfd2a49905698fa5861d0d491cc917"),
            Numeric.hexStringToByteArray(
                    "0c21030ba3f5cb0676ef4eadc89f4da74a6eade644b87aed9a123a117f144ff247052c0b4195440d78")));
    Transaction tx = new Transaction(neow,
            (byte) 0,
            226292130L,
            2103398,
            signers,
            9007990L,
            1244390L,
            new ArrayList<>(),
            Numeric.hexStringToByteArray(
                    "110c146cd3d4f4f7e35c5ee7d0e725c11dc880cef1e8b10c14c6a1c24a5b87fb8ccd7ac5f7948ffe526d4e01f713c00c087472616e736665720c1425059ecb4878d3a875f91c51ceded330d4575fde41627d5b5238"),
            new ArrayList<>());
    assertThat(tx.getTxId(),
            is("066c44b4540ee7b5a3a57fcfcc272353560af792acc3c95da3e18efc962556a2"));
}