use of io.nem.symbol.sdk.openapi.okhttp_gson.model.TransactionInfoDTO in project nem2-sdk-java by nemtech.
the class TransactionMapperOkHttpTest method shouldCreateAggregateLockFundsTransaction.
@Test
void shouldCreateAggregateLockFundsTransaction() {
TransactionInfoDTO aggregateLockFundsTransactionDTO = TestHelperOkHttp.loadTransactionInfoDTO("aggregateLockFundsTransaction.json");
Transaction lockFundsTransaction = map(aggregateLockFundsTransactionDTO);
validateAggregateTransaction((AggregateTransaction) lockFundsTransaction, aggregateLockFundsTransactionDTO);
}
use of io.nem.symbol.sdk.openapi.okhttp_gson.model.TransactionInfoDTO in project nem2-sdk-java by nemtech.
the class TransactionMapperOkHttpTest method shouldCreateAggregateMosaicGlobalRestrictionTransaction.
@Test
void shouldCreateAggregateMosaicGlobalRestrictionTransaction() {
TransactionInfoDTO aggregateMosaicGlobalRestrictionTransactionDTO = TestHelperOkHttp.loadTransactionInfoDTO("aggregateMosaicGlobalRestrictionTransaction.json");
Transaction aggregateMosaicGlobalRestrictionTransaction = map(aggregateMosaicGlobalRestrictionTransactionDTO);
validateAggregateTransaction((AggregateTransaction) aggregateMosaicGlobalRestrictionTransaction, aggregateMosaicGlobalRestrictionTransactionDTO);
}
use of io.nem.symbol.sdk.openapi.okhttp_gson.model.TransactionInfoDTO in project nem2-sdk-java by nemtech.
the class TransactionMapperOkHttpTest method shouldCreateAggregateSecretProofTransaction.
@Test
void shouldCreateAggregateSecretProofTransaction() {
TransactionInfoDTO aggregateSecretProofTransactionDTO = TestHelperOkHttp.loadTransactionInfoDTO("aggregateSecretProofTransaction.json");
Transaction aggregateSecretProofTransaction = map(aggregateSecretProofTransactionDTO);
validateAggregateTransaction((AggregateTransaction) aggregateSecretProofTransaction, aggregateSecretProofTransactionDTO);
}
use of io.nem.symbol.sdk.openapi.okhttp_gson.model.TransactionInfoDTO in project nem2-sdk-java by nemtech.
the class TransactionMapperOkHttpTest method shouldCreateAggregateMosaicCreationTransaction.
@Test
void shouldCreateAggregateMosaicCreationTransaction() {
TransactionInfoDTO aggregateMosaicCreationTransactionDTO = TestHelperOkHttp.loadTransactionInfoDTO("aggregateMosaicCreationTransaction.json");
Transaction aggregateMosaicCreationTransaction = map(aggregateMosaicCreationTransactionDTO);
validateAggregateTransaction((AggregateTransaction) aggregateMosaicCreationTransaction, aggregateMosaicCreationTransactionDTO);
}
use of io.nem.symbol.sdk.openapi.okhttp_gson.model.TransactionInfoDTO 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);
}
Aggregations