public void SMParse2()
        {
            creditReportReader cr = new creditReportReader();
            UserCreditSummary creditSum;

            if (cr.init("creditReport.html") == true)
            {
                cr.parse();
                creditSum = cr.getCreditSummary();
                Assert.AreEqual(creditSum.unsatisfactoryAccounts  , 5);
            }
        }
        public void SMParse1()
        {
            creditReportReader cr = new creditReportReader();
            List<UserDebtDetail> debtDetails;

            if (cr.init("creditReport.html") == true)
            {
                cr.parse();
                debtDetails = cr.getCreditDetails();
                Assert.AreEqual(debtDetails.Count, 6);
            }
        }
        public void SMParse3()
        {
            List<UserDebtDetail> debtDetails;
            creditReportReader cr = new creditReportReader();

            if (cr.init("creditReport.html") == true)
            {
                cr.parse();
                debtDetails = cr.getCreditDetails();
                var balance = debtDetails.Find(x => x.debtCompanyName == "capital one").balance;
                Assert  .AreEqual(balance, 201);
            }
        }