コード例 #1
0
        public void Update()
        {
            Administrator user = administratorDAO.Add(new Administrator("USERNAME", "PASSWORD"));

            user.Username = "******";
            administratorDAO.Update(user);

            Assert.AreEqual("USERNAME2", administratorDAO.GetAll()[0].Username);
        }