public void MostProfitableAccount_TwentyTransactionsInInput() { //arrange TransactionProcessor transactionProcessor = new TransactionProcessor(transactions); //act TransactionsStatistics statistics = transactionProcessor.MostProfitableAccount(2020); //assert Assert.AreEqual("Account1", statistics.Account); Assert.AreEqual(10000, statistics.Amount); }