Example #1
0
    public void GetTransactionValueDebit()
    {
        var transaction = new DebitTransaction();

            transaction.TransDate = DateTime.Now;
            transaction.Description = "Tools expense";
            transaction.Value = 100.03m;
            transaction.Balance = 500.30m;

            Assert.That(transaction.Description, Is.EqualTo("Tools expense"));
    }
Example #2
0
    public void GetDummyTransactionDebit()
    {
        var transaction = new DebitTransaction();
            var myTransactionService = new TransactionDomainService();

            transaction = myTransactionService.GetDummyDebitTransaction();

            Assert.That(transaction.Description, Is.Not.Null);
    }