Пример #1
0
        private async Task TestSelects()
        {
            List <TeacherGroup> teacherGroupActual = await groupStorage.TeacherGroupGetAll();

            for (int i = 0; i < listTeacherGroup.Count; i++)
            {
                Assert.Contains(listTeacherGroup[i], teacherGroupActual);
            }
            TeacherGroup actualteacherGroup = await groupStorage.TeacherGroupGetById((int)listTeacherGroup[0].Id);

            Assert.AreEqual(listTeacherGroup[0], actualteacherGroup);
        }