Пример #1
0
        public void Test_DeleteCourseProfessor()
        {
            var data     = new EfData();
            var id       = data.GetTopCP();
            var expected = db.CourseProfessors.Where(x => x.CourseProfessorID == id).FirstOrDefault();


            var actual = data.DeleteCourseProfessor(expected, id);

            Assert.True(actual);
        }