use of io.nem.symbol.sdk.model.transaction.Transaction in project nem2-sdk-java by nemtech.
the class TransactionMapperVertxTest method shouldCreateStandaloneTransferTransaction.
@Test
void shouldCreateStandaloneTransferTransaction() {
TransactionInfoDTO transferTransactionDTO = TestHelperVertx.loadTransactionInfoDTO("standaloneTransferTransaction.json");
Transaction transferTransaction = map(transferTransactionDTO);
validateStandaloneTransaction(transferTransaction, transferTransactionDTO);
}
use of io.nem.symbol.sdk.model.transaction.Transaction in project nem2-sdk-java by nemtech.
the class TransactionMapperVertxTest method shouldCreateAggregateTransferTransaction.
@Test
void shouldCreateAggregateTransferTransaction() {
TransactionInfoDTO aggregateTransferTransactionDTO = TestHelperVertx.loadTransactionInfoDTO("aggregateTransferTransaction.json");
Transaction aggregateTransferTransaction = map(aggregateTransferTransactionDTO);
validateAggregateTransaction((AggregateTransaction) aggregateTransferTransaction, aggregateTransferTransactionDTO);
}
use of io.nem.symbol.sdk.model.transaction.Transaction in project nem2-sdk-java by nemtech.
the class TransactionMapperVertxTest method shouldCreateAggregateSecretLockTransaction.
@Test
void shouldCreateAggregateSecretLockTransaction() {
TransactionInfoDTO aggregateSecretLockTransactionDTO = TestHelperVertx.loadTransactionInfoDTO("aggregateSecretLockTransaction.json");
Transaction aggregateSecretLockTransaction = map(aggregateSecretLockTransactionDTO);
validateAggregateTransaction((AggregateTransaction) aggregateSecretLockTransaction, aggregateSecretLockTransactionDTO);
}
use of io.nem.symbol.sdk.model.transaction.Transaction in project nem2-sdk-java by nemtech.
the class TransactionMapperVertxTest method shouldCreateAggregateSubNamespaceCreationTransaction.
@Test
void shouldCreateAggregateSubNamespaceCreationTransaction() {
TransactionInfoDTO aggregateNamespaceCreationTransactionDTO = TestHelperVertx.loadTransactionInfoDTO("aggregateSubNamespaceCreationTransaction.json");
Transaction aggregateNamespaceCreationTransaction = map(aggregateNamespaceCreationTransactionDTO);
validateAggregateTransaction((AggregateTransaction) aggregateNamespaceCreationTransaction, aggregateNamespaceCreationTransactionDTO);
}
use of io.nem.symbol.sdk.model.transaction.Transaction in project nem2-sdk-java by nemtech.
the class TransactionMapperVertxTest method shouldCreateAggregateMosaicSupplyChangeTransaction.
@Test
void shouldCreateAggregateMosaicSupplyChangeTransaction() {
TransactionInfoDTO aggregateMosaicSupplyChangeTransactionDTO = TestHelperVertx.loadTransactionInfoDTO("aggregateMosaicSupplyChangeTransaction.json");
Transaction aggregateMosaicSupplyChangeTransaction = map(aggregateMosaicSupplyChangeTransactionDTO);
validateAggregateTransaction((AggregateTransaction) aggregateMosaicSupplyChangeTransaction, aggregateMosaicSupplyChangeTransactionDTO);
}
Aggregations