public void CreateNewSemesterTest()
        {
            //Arrange: if adding to the new semester fails, it will throw an exception and the test will fail.

            // Act
            Semester semester = new Semester();

            semester.SemesterStart = Convert.ToDateTime("2019,01,01");
            CourseFactory factory = new CourseFactory();

            factory.AddNewSemesterToDB(semester);

            //Assert is empty as it is a void method that results in an exception if the method fails.
        }