use of io.nem.symbol.sdk.api.TransactionStatusRepository in project nem2-sdk-java by nemtech.
the class TransactionRepositoryIntegrationTest method getTransactionsStatuses.
@ParameterizedTest
@EnumSource(RepositoryType.class)
public void getTransactionsStatuses(RepositoryType type) {
TransactionStatusRepository transactionRepository = getTransactionStatusRepository(type);
List<TransactionStatus> transactionStatuses = get(transactionRepository.getTransactionStatuses(Collections.singletonList(transactionHash)));
assertEquals(transactionHash, transactionStatuses.get(0).getHash());
}
Aggregations