BudgetAnalyser.Wpf.UnitTest.Statement.StatementViewModelTest.GetPhoneTxnFromGroupedList C# (CSharp) Method

GetPhoneTxnFromGroupedList() private static method

private static GetPhoneTxnFromGroupedList ( StatementViewModel subject ) : BudgetAnalyser.Engine.Statement.Transaction
subject BudgetAnalyser.Statement.StatementViewModel
return BudgetAnalyser.Engine.Statement.Transaction
        private static Transaction GetPhoneTxnFromGroupedList(StatementViewModel subject)
        {
            Transaction transactionFromGroupedList = subject.GroupedByBucket.Single(g => g.Bucket == StatementModelTestData.PhoneBucket)
                .Transactions.Single(t => t.Date == new DateTime(2013, 07, 16));
            return transactionFromGroupedList;
        }