public void addEducationTest()
        {
            Education testE = new Education()
            {
               Degree = "TestDegree", School = "TestSchool", StartYear = 2012, EndYear = 2015
            };
            int initialNumEducations = db.retrieveAllEducations().Count;
            db.addEducation(testE, 5);
            int finalNumEducations = db.retrieveAllPortfolios().Count;

            Assert.AreEqual(initialNumEducations + 1, finalNumEducations, "Education Add Failed");
        }
        public void updateEducationTest()
        {
            db.addUser(testUser);

            int numUsers = db.retrieveAllUsers().Count;

            int initialNumEducations = db.retrieveAllEducations().Count;
            db.addEducation(testEducation, numUsers);
            int finalNumEducations = db.retrieveAllEducations().Count;

            Assert.AreEqual(initialNumEducations + 1, finalNumEducations, "Education Add Failed");

            Education testEdit = new Education()
            {
                Degree = "EditedDegree",
                School = "EditedSchool",
                StartYear = 2033,
                EndYear = 2034,
                Id = finalNumEducations
            };

            db.updateEducation(testEdit, numUsers);

            Education updatedEducation = db.retrieveEducation(finalNumEducations);
            Assert.AreEqual(testEdit.Degree, updatedEducation.Degree, "Education Update Failed (Degree)");
            Assert.AreEqual(testEdit.School, updatedEducation.School, "Education Update Failed (School)");
            Assert.AreEqual(testEdit.StartYear, updatedEducation.StartYear, "Education Update Failed (StartYear)");
            Assert.AreEqual(testEdit.EndYear, updatedEducation.EndYear, "Education Update Failed (EndYear)");
        }