public void TestAddStudentInCourse()
        {
            var system = new CoursesController(new BangaloreUniversityDate(), new User(Username, Password, Role.Lecturer));
            var student = new UsersController(new BangaloreUniversityDate(), new User(Username, Password, Role));

            student.Logout();
            student.Register(Username, Password, Password, this.Role.ToString());
            student.Login(Username, Password);

            system.Create("Advanced C#");
            var result = system.Enroll(1);

            Assert.AreEqual("Student successfully enrolled in course Advanced C#.", result.Display());
        }
        public void TestLogoutUser()
        {
            var system = new UsersController(new BangaloreUniversityDate(), new User(Username, Password, this.Role));
            system.Logout();
            system.Register(Username, Password, Password, this.Role.ToString());
            system.Login(Username, Password);
            var result = system.Logout();

            Assert.AreEqual("User newUsername logged out successfully.", result.Display());
        }