public void StudentTest()
 {
     NewStudentImport target = new NewStudentImport(); // TODO: Initialize to an appropriate value
     Student expected = null; // TODO: Initialize to an appropriate value
     Student actual;
     target.Student = expected;
     actual = target.Student;
     Assert.AreEqual(expected, actual);
     Assert.Inconclusive("Verify the correctness of this test method.");
 }
        private Class FindOrCreateClass(int districtID, School school, int schoolPeriodID, Teacher teacher, NewStudentImport newStudentImport)
        {
            var classType = _repo.GetClassTypes(districtID).FirstOrDefault(p => p.GradeLevel == newStudentImport.Student.GradeLevel);
            if (classType == null)
            {
                classType = new ClassType();
                classType.GradeLevel = (byte)newStudentImport.Student.GradeLevel;
                classType.Name = classType.GradeLevelLong;
                classType.SchoolDistrictID = school.SchoolDistrictID; //link to district
                classType.SchoolID = null; //make available district wide
                _repo.AddClassType(classType, false);
            }

            var clas = _repo.GetClasses(school.SchoolID, schoolPeriodID).FirstOrDefault(p => p.TeacherID == teacher.TeacherID);
            if (clas == null)
            {
                clas = new Class();
                clas.ClassType = classType;
                clas.Name = String.Format("{0}'s {1}", teacher.FullName, newStudentImport.Student.GradeLevelLong);
                clas.Teacher = teacher;
                clas.SchoolPeriodID = schoolPeriodID;
                _repo.AddClass(clas, false);
            }

            return clas;
        }
 public void NewStudentImportConstructorTest()
 {
     NewStudentImport target = new NewStudentImport();
     Assert.Inconclusive("TODO: Implement code to verify target");
 }