use of io.nem.symbol.sdk.model.transaction.Transaction in project nem2-sdk-java by nemtech.
the class TransactionMapperOkHttpTest method shouldCreateAggregateMosaicAddressRestrictionTransaction.
@Test
void shouldCreateAggregateMosaicAddressRestrictionTransaction() {
TransactionInfoDTO aggregateMosaicAddressRestrictionTransactionDTO = TestHelperOkHttp.loadTransactionInfoDTO("aggregateMosaicAddressRestrictionTransaction.json");
Transaction aggregateMosaicAddressRestrictionTransaction = map(aggregateMosaicAddressRestrictionTransactionDTO);
validateAggregateTransaction((AggregateTransaction) aggregateMosaicAddressRestrictionTransaction, aggregateMosaicAddressRestrictionTransactionDTO);
}
use of io.nem.symbol.sdk.model.transaction.Transaction in project nem2-sdk-java by nemtech.
the class TransactionMapperOkHttpTest method shouldCreateStandaloneMultisigModificationTransaction.
@Test
void shouldCreateStandaloneMultisigModificationTransaction() {
TransactionInfoDTO multisigModificationTransactionDTO = TestHelperOkHttp.loadTransactionInfoDTO("standaloneMultisigModificationTransaction.json");
Transaction multisigModificationTransaction = map(multisigModificationTransactionDTO);
validateStandaloneTransaction(multisigModificationTransaction, multisigModificationTransactionDTO);
}
use of io.nem.symbol.sdk.model.transaction.Transaction in project nem2-sdk-java by nemtech.
the class TransactionMapperOkHttpTest method shouldCreateAggregateMosaicSupplyChangeTransaction.
@Test
void shouldCreateAggregateMosaicSupplyChangeTransaction() {
TransactionInfoDTO aggregateMosaicSupplyChangeTransactionDTO = TestHelperOkHttp.loadTransactionInfoDTO("aggregateMosaicSupplyChangeTransaction.json");
Transaction aggregateMosaicSupplyChangeTransaction = map(aggregateMosaicSupplyChangeTransactionDTO);
validateAggregateTransaction((AggregateTransaction) aggregateMosaicSupplyChangeTransaction, aggregateMosaicSupplyChangeTransactionDTO);
}
use of io.nem.symbol.sdk.model.transaction.Transaction in project nem2-sdk-java by nemtech.
the class TransactionMapperOkHttpTest method shouldCreateStandaloneMosaicCreationTransaction.
@Test
void shouldCreateStandaloneMosaicCreationTransaction() {
TransactionInfoDTO mosaicCreationTransactionDTO = TestHelperOkHttp.loadTransactionInfoDTO("standaloneMosaicCreationTransaction.json");
Transaction mosaicCreationTransaction = map(mosaicCreationTransactionDTO);
validateStandaloneTransaction(mosaicCreationTransaction, mosaicCreationTransactionDTO);
}
use of io.nem.symbol.sdk.model.transaction.Transaction in project nem2-sdk-java by nemtech.
the class TransactionMapperOkHttpTest method shouldCreateStandaloneTransferTransaction.
@Test
void shouldCreateStandaloneTransferTransaction() {
TransactionInfoDTO transferTransactionDTO = TestHelperOkHttp.loadTransactionInfoDTO("standaloneTransferTransaction.json");
Transaction transferTransaction = map(transferTransactionDTO);
validateStandaloneTransaction(transferTransaction, transferTransactionDTO);
}
Aggregations