コード例 #1
0
        public void GetByUsername()
        {
            Administrator user = administratorDAO.Add(new Administrator("username", "password"));

            Assert.AreEqual(user, administratorDAO.GetAdminByUsername(user.Username));
        }