public void TestCheckToLeaveNonParticipatedCourseToNoThrow()
        {
            Student nerd = new Student("Pavel Kolev", 11112);
            Student nobbie = new Student("Goran Bognanov", 15152);
            Course cSharp = new Course("C#");
            Course cPlusPlus = new Course("C++");
            Course java = new Course("Java");

            nerd.JointInCourse(cSharp);
            nerd.JointInCourse(cPlusPlus);
            nerd.JointInCourse(java);

            nerd.LeaveFromCourse(cPlusPlus);
            nerd.LeaveFromCourse(cSharp);
            nerd.LeaveFromCourse(java);

            nobbie.LeaveFromCourse(java);
            nobbie.LeaveFromCourse(cPlusPlus);

            Assert.AreEqual(0, nerd.Courses.Count);
            Assert.AreEqual(0, nobbie.Courses.Count);
        }
        public void TestManyStudentsToOneCourse()
        {
            Student nerd = new Student("Pavel Kolev", 11114);
            Student lazyStudent = new Student("Ivan Begov", 11115);
            Student sportStudent = new Student("Georgi Kishishev", 11116);

            Course javaScript = new Course("JavaScript");

            nerd.JointInCourse(javaScript);
            nerd.JointInCourse(javaScript);
            nerd.JointInCourse(javaScript);

            lazyStudent.JointInCourse(javaScript);
            lazyStudent.JointInCourse(javaScript);
            lazyStudent.JointInCourse(javaScript);

            sportStudent.JointInCourse(javaScript);

            Assert.AreEqual(1, nerd.Courses.Count);
            Assert.AreEqual(1, lazyStudent.Courses.Count);
            Assert.AreEqual(1, sportStudent.Courses.Count);

            nerd.LeaveFromCourse(javaScript);
            lazyStudent.LeaveFromCourse(javaScript);
            sportStudent.LeaveFromCourse(javaScript);

            Assert.AreEqual(0, nerd.Courses.Count);
            Assert.AreEqual(0, lazyStudent.Courses.Count);
            Assert.AreEqual(0, sportStudent.Courses.Count);
        }