public void UpdateMember()
        {
            var account = new ManageAccountController(new AdminList(), new ManagerList(), new MemberList(), new ProviderList());
            var member  = new Member();

            member.Name          = "Cheng luo";
            member.StreetAddress = "123 77th Ave S";
            member.State         = "MN";
            member.City          = "Saint Cloud";
            member.ZipCode       = "12345";
            var newMemberId = account.AddMember(member);

            Assert.IsTrue(null != newMemberId, "Failed to add a new member.");

            Member m = new Member();

            m.Name          = "PST";
            m.ID            = newMemberId.Value;
            m.StreetAddress = "123 77th Ave S";
            m.State         = "MN";
            m.City          = "Saint Cloud";
            m.ZipCode       = "19191";
            m.Status        = 0;

            var updatedMember = account.UpdateMember(m);

            Assert.IsTrue(null != updatedMember, "Failed to update a member.");

            var success = account.DeleteMember(newMemberId.Value);

            Assert.IsTrue(success, "failed to delete member");
        }
        public void DeleteMember()
        {
            var account  = new ManageAccountController(new AdminList(), new ManagerList(), new MemberList(), new ProviderList());
            int memberId = 1010;
            var result   = account.DeleteMember(memberId);

            Assert.IsFalse(result, "Failed to delete a new member.");
        }