public void GetByUsername() { Administrator user = administratorDAO.Add(new Administrator("username", "password")); Assert.AreEqual(user, administratorDAO.GetAdminByUsername(user.Username)); }