Ejemplo n.º 1
0
        public void Test_CancelCourse()
        {
            var    data           = new EfData();
            Course courseToCancel = new Course {
                Title = "Analysis of Algorithms", Credits = 3, DepartmentId = 1
            };

            //Add test course
            data.InsertCourse(courseToCancel);

            var actual = data.CancelCourse(courseToCancel);

            Assert.True(actual);
        }