コード例 #1
0
        public async Task ExpenseRepository_GetAllExpenses_Call_GetResults_Test()
        {
            var context       = new MyCompanyContext();
            int expectedCount = context.Expenses.Count();

            var results = await target.GetAllAsync();

            Assert.IsNotNull(results);
            Assert.IsTrue(results.Any());
        }