Exemple #1
0
        public async Task ExpenseRepository_GetTeamExpensesByMemberCount_Test()
        {
            var context         = new MyCompanyContext();
            var managerIdentity = context.Employees.FirstOrDefault(e => e.ManagedTeams.Any()).Email;

            var count = await target.GetTeamExpensesByMemberCountAsync(managerIdentity);

            Assert.IsTrue(count > 0);
        }