Exemplo n.º 1
0
        public void GetTransactionPurchaseFromInt2()
        {
            var transactionType = TransactionTypeMapper.GetTypeFromInt(2);

            Assert.Equal(TransactionType.Purchase, transactionType);
        }
Exemplo n.º 2
0
        public void GetTransactionSaleFromInt1()
        {
            var transactionType = TransactionTypeMapper.GetTypeFromInt(1);

            Assert.Equal(TransactionType.Sale, transactionType);
        }