Beispiel #1
0
        private async Task TestSelects()
        {
            List <Course> courseActual = await courseStorage.CourseGetAll();

            for (int i = 0; i < listCourse.Count; i++)
            {
                Assert.Contains(listCourse[i], courseActual);
            }

            Course actualCourse = await courseStorage.CourseGetById((int)listCourse[0].Id);

            Assert.AreEqual(listCourse[0], actualCourse);
        }