public void AddCourse() { Course course = new Course(); //course.Id = 123; course.Subject = "PHYS"; course.Number = "4000"; course.Title = "Gravity"; course.Description = "Learn the ups and downs of Gravity"; course.CreditHours = 4; course.CourseFee = 0; SeeSharpLMS.DataAccessLayer.DataAccessClass data = new DataAccessClass(); try { data.AddCourse(course); } catch (Exception e) { System.Console.WriteLine(e); } Assert.AreEqual("PHYS", course.Subject); Assert.AreEqual("4000", course.Number); Assert.AreEqual("Gravity", course.Title); Assert.AreEqual("Learn the ups and downs of Gravity", course.Description); Assert.AreEqual(4, course.CreditHours); Assert.AreEqual(0, course.CourseFee); }