public void GetStudentInfoGetTest()
 {
     var studentController = new StudentController();
     var studentInfo = studentController.GetStudent("A000001");
     Assert.AreEqual("A000001", studentInfo.StudentId);
     Assert.AreEqual("123456789", studentInfo.SSN);
     Assert.AreEqual("John", studentInfo.FirstName);
     Assert.AreEqual("Doe", studentInfo.LastName);
     Assert.AreEqual("*****@*****.**", studentInfo.Email);
     Assert.AreEqual("password", studentInfo.Password);
     Assert.AreEqual(9, studentInfo.ShoeSize);
     Assert.AreEqual(100, studentInfo.Weight);
     Assert.AreEqual(0, studentInfo.Age);
 }
 public void InsertStudentPostTest()
 {
     var studentController = new StudentController();
     var newStudent = studentController.InsertStudent(
             new Student
             {
                 StudentId = "B000001",
                 FirstName = "Isaac",
                 LastName = "Chu",
                 SSN = "987654321",
                 Email = "*****@*****.**",
                 Password = "******",
                 ShoeSize = 10,
                 Weight = 175,
                 Age = 38
             });
     var studentInfo = studentController.GetStudent("B000001");
     Assert.AreEqual("B000001", studentInfo.StudentId);
     Assert.AreEqual("987654321", studentInfo.SSN);
     Assert.AreEqual("Isaac", studentInfo.FirstName);
     Assert.AreEqual("Chu", studentInfo.LastName);
     Assert.AreEqual("*****@*****.**", studentInfo.Email);
     Assert.AreEqual("password", studentInfo.Password);
     Assert.AreEqual(10, studentInfo.ShoeSize);
     Assert.AreEqual(175, studentInfo.Weight);
     Assert.AreEqual(38, studentInfo.Age);
 }
        public void UpdateStudentPostTest()
        {
            var studentController = new StudentController();
            var getStudent = studentController.GetStudent("A0000111");
            getStudent.LastName = "Wain";
            var editStudent = studentController.UpdateStudent(getStudent);

            var studentInfo = studentController.GetStudent("A0000111");
            Assert.AreEqual("A0000111", studentInfo.StudentId);
            Assert.AreEqual("555-55-33", studentInfo.SSN);
            Assert.AreEqual("Bruce", studentInfo.FirstName);
            Assert.AreEqual("Wain", studentInfo.LastName);
            Assert.AreEqual("*****@*****.**", studentInfo.Email);
            Assert.AreEqual("password", studentInfo.Password);
            Assert.AreEqual(10, studentInfo.ShoeSize);
            Assert.AreEqual(160, studentInfo.Weight);
            Assert.AreEqual(0, studentInfo.Age);
        }