public void LessonTest_ValidData_ShouldIsInstanceOfType()
 {
     //arrange
     int week = 1;
     int lesson = 5;
     int classroom = 2;
     int groupLoad = 1;
     int teacherLoad = 8;
     //act
     object result = new SVM.Lesson(week, lesson, classroom, groupLoad, teacherLoad);
     //assert
     Assert.IsInstanceOfType(result, typeof(SVM.Lesson));
 }
 public void LessonTest_ValidDataOnlyGroup_ShouldIsInstanceOfType()
 {
     //arrange
     int groupLoad = 1;
     //act
     object result = new SVM.Lesson(groupLoad);
     //assert
     Assert.IsInstanceOfType(result, typeof(SVM.Lesson));
 }
 public void LessonTest_InvalidDataNullIdTeacher_ShouldIsNotNull()
 {
     //arrange
     SVM.Lesson lesson = new SVM.Lesson();
     //act
     object result = lesson.id_teacher;
     //assert
     Assert.IsNotNull(result);
 }
 public void LessonTest_InvalidDataNullIdStudGroup_ShouldIsNotNull()
 {
     //arrange
     SVM.Lesson lesson = new SVM.Lesson();
     //act
     object result = lesson.id_students_group;
     //assert
     Assert.IsNotNull(result);
 }
 public void LessonTest_InvalidDataNullIdDepartment_ShouldIsNotNull()
 {
     //arrange
     SVM.Lesson lesson = new SVM.Lesson();
     //act
     object result = lesson.id_department;
     //assert
     Assert.IsNotNull(result);
 }
 public void LessonTest_EmptyConstructor_IsNotNull()
 {
     //act
     object result = new SVM.Lesson();
     //assert
     Assert.IsNotNull(result);
 }