public void Test_DeleteCourse() { var data = new EfData(); var id = data.GetTopC(); var expected = db.Courses.Where(x => x.CourseID == id).FirstOrDefault(); var actual = data.DeleteCourse(expected, id); Assert.True(actual); }