public void InitializedTransactionTransactionTypeNotSet() { Transaction transaction = new Transaction(); Assert.Equal(transaction.TransactionType, TransactionTypes.Withdrawal); }
public void InitializedTransactionTagsLengthZero() { Transaction transaction = new Transaction(); Assert.Equal(0, transaction.Tags.Count); }
public void InitializedTransactionHasNullAccount() { Transaction transaction = new Transaction(); Assert.Null(transaction.Account); }
public void InitializedTransactionDescriptionEmpty() { Transaction transaction = new Transaction(); Assert.Equal(string.Empty, transaction.Description); }
public void InitializedTransactionDateIsDateMin() { Transaction transaction = new Transaction(); Assert.Equal(transaction.Date, DateTime.MinValue); }
public void InitializedTransactionAmountZero() { Transaction transaction = new Transaction(); Assert.Equal(transaction.Amount, 0.0); }