public void SubjectMaxEnrollmentNotReached()
        {
            Subject subject = new Subject() { Active = true, Name = "Apple", MaxEnrolment = 3, SubjectNumber = "1000", Description = "i am an apple" };

            Assert.AreEqual(0, subject.EnrolledStudents.Count);
            Assert.IsFalse(subject.MaxEnrolmentIsReached());

            subject.EnrolledStudents.Add(_students[0]);
            Assert.AreEqual(1, subject.EnrolledStudents.Count);
            Assert.IsFalse(subject.MaxEnrolmentIsReached());
        }
        public void SubjectMaxEnrollmentHasReached()
        {
            Subject subject = new Subject() { Active = true, Name = "Apple", MaxEnrolment = 3, SubjectNumber = "1000", Description = "i am an apple" };

            Assert.AreEqual(0, subject.EnrolledStudents.Count);
            Assert.IsFalse(subject.MaxEnrolmentIsReached());

            foreach (Student s in _students.FindAll(s => s.Id <= subject.MaxEnrolment))
            {
                subject.EnrolledStudents.Add(s);
            }

            Assert.AreEqual(3, subject.EnrolledStudents.Count);
            Assert.IsTrue(subject.MaxEnrolmentIsReached());
        }