public async Task GetAllPersonalTestResults() { using (SelfAssessmentDbContext context = new SelfAssessmentDbContext()) { Account account = context.Accounts.Where(a => a.User.Username == "test2").FirstOrDefault(); List <TestResult> testResults = await testResultService.GetPersonalTestResults(account, "TestTestSeries"); Assert.AreEqual(1, testResults.Count); } }