コード例 #1
0
        public void ClearBillingInfo()
        {
            string s = Factories.GetMockAccountName("Clear Billing Info");

            Account newAcct = new Account(s,
                "George", "Jefferson", "4111111111111111", DateTime.Now.Month, DateTime.Now.Year + 2);
            newAcct.Create();

            newAcct.ClearBillingInfo();

            Assert.IsNull(newAcct.BillingInfo);
            Account t = Account.Get(s);
            Assert.IsNull(t.BillingInfo);
        }