@Test
void unknownTransactionType() throws Exception {

    int unknownType = 9999;
    byte[] transactionBodyBytes = Hex.decodeHex(
            "0a120a0c08eb88d6ee0510e8eff7ab01120218021202180318c280de1922020878321043727970746f2074657374206d656d6ffaf004050a03666f6f");
    Transaction transaction = Transaction.newBuilder()
            .setBodyBytes(ByteString.copyFrom(transactionBodyBytes))
            .build();
    RecordItem recordItem = new RecordItem(transaction, TRANSACTION_RECORD);
    assertThat(recordItem.getTransactionType()).isEqualTo(unknownType);
}