コード例 #1
0
        public void AddAdminTest()
        {
            string firstName = "John";
            string lastName  = "Bane";
            string username  = "******";
            string password  = "******";
            Admin  a1        = new Admin(firstName, lastName, username, password);

            UserControl.AddAdmin(a1);
            Assert.AreEqual(a1.FirstName, UserControl.FindUser(a1.Username).FirstName);
        }