public void Save_the_latest_transaction() { var date = DateTime.Now.AddSeconds(7); _accountTransactions.SaveTransaction($"{date} | {10} | {55}"); var transactions = _accountTransactions.GetAccountTransactions().Last(); Assert.That(transactions.Amount, Is.EqualTo(10)); Assert.That(transactions.Balance, Is.EqualTo(55)); Assert.That(transactions.Date.ToShortDateString(), Is.EqualTo(date.ToShortDateString())); }