public void GenerateCoursesFromXML_InvalidFilename_NoCoursesReturned_()
        {
            // setup
            importer = new RateMyClasses.Models.SISImporter();
            var INVALID_FILE_NAME = "84983j43ojioj439.txt";

            // test
            IEnumerable <RateMyClasses.Models.Course> courses = importer.generateCoursesFromXml(INVALID_FILE_NAME);

            Assert.True(courses.ToList().Count == 0);

            // reset state
            importer = null;
        }
        public void GenerateCoursesFromXML_ValidFilename_CourseListReturned()
        {
            // setup
            importer = new RateMyClasses.Models.SISImporter();
            importer.downloadCurrentSISExport();

            // test
            IEnumerable <RateMyClasses.Models.Course> courses = importer.generateCoursesFromXml(importer.currentXmlOutputFile);

            Assert.True(courses.ToList().Count > 3000);

            // reset state
            importer = null;
        }