### Question:
TransactionRetStore extends TronStoreWithRevoking<TransactionRetCapsule> { public TransactionInfoCapsule getTransactionInfo(byte[] key) throws BadItemException { long blockNumber = transactionStore.getBlockNumber(key); if (blockNumber == -1) { return null; } byte[] value = revokingDB.getUnchecked(ByteArray.fromLong(blockNumber)); if (Objects.isNull(value)) { return null; } TransactionRetCapsule result = new TransactionRetCapsule(value); if (Objects.isNull(result) || Objects.isNull(result.getInstance())) { return null; } for (TransactionInfo transactionResultInfo : result.getInstance().getTransactioninfoList()) { if (transactionResultInfo.getId().equals(ByteString.copyFrom(key))) { return new TransactionInfoCapsule(transactionResultInfo); } } return null; } @Autowired  TransactionRetStore(@Value("transactionRetStore") String dbName); @Override void put(byte[] key, TransactionRetCapsule item); TransactionInfoCapsule getTransactionInfo(byte[] key); TransactionRetCapsule getTransactionInfoByBlockNum(byte[] key);  }### Answer:
@Test public void get() throws BadItemException { TransactionInfoCapsule resultCapsule = transactionRetStore.getTransactionInfo(transactionId); Assert.assertNotNull("get transaction ret store", resultCapsule); }