public async void AISNewBillingUnitTest() { NewBillingArgs newBillingArgs = new NewBillingArgs() { insured = new NewBilling_insured() { insuredCANumber = " ", insuredMCNumber = " ", aisAccountNumber = " ", insuredId = "DEMOACCOUNT", insuredName1 = "JOHN", insuredName2 = "SMITH", insuredAddress1 = "123 Main Street", insuredAddress2 = "Apt A", insuredCity = "St. Louis", insuredState = "MO", insuredZip = "63141", insuredPhoneNumber = "3145760007", insuredFaxNumber = "3148787843", insuredEmail = "*****@*****.**", insuredCellPhoneServiceProviderCode = "1", insuredCellPhoneNumber = "3145760007", insuredBillMailOption = "E", insuredBillReminderOption = "S", bankAccountType = "C", bankABANumber = "081009428", bankAccountNumber = "12341234123412341", insuredSSNFederalId = "123123123" }, account = new NewBilling_account() { brokerFeeAddonFlag = "", spanishFlag = "", signatureReceived = " ", billingType = "", accountType = "P", totalPremiumAmount = "2150.00", totalDownPayAmount = "650.00", amountFinanced = "1500.00", calculateFinanceChargeFlag = "N", financeCharge = "185.40", totalOfPayments = "1685.40", quarterlyPaymentFlag = "N", paymentTerm = "9", paymentAmount = "187.27", firstPaymentDate = "11012018", originalAPR = "28.76", currentAPR = "28.76", brokerFeeAddonAmount = "0.00", policyBrokerFees = "0.00", paymentReceived = "0.00", floridaAccountFlag = "N", stampTax = "0.00", quoteNumber = "0", billingFee = "0.00" }, agent = new NewBilling_agent() { agentCodeCrossReference = " ", agentName = " ", generalAgentName = " ", agentCode = "040000" } }; var policies = new List <NewBilling_policies>(); policies.Add(new NewBilling_policies() { policyNumber = "TESTPFPOLICY0001", policyInceptionDate = "10012018", policyTerm = 12, policyInsuranceCompanyCrossReference = " ", policyInsuranceCompanyName = " ", policyInsuranceCompanyCO = " ", policyCoverageTypeCrossReference = " ", policyCommissionRetainFlag = "", policyFee3Description = "", policyFee3Type = "", policyFee4Type = "", policyFee4Description = "", policyInsuranceCompanyNumber = "6688", policyCoverageTypeCode = "18", policyPremiumAmount = "2000.00", policyPremiumDownpay = "500.00", policyUnpaidPremiumAmount = "1500.00", policyCommissionAmount = "0.00", policyCommissionPercentage = "0.000", policyFee1Type = "T", policyFee1Description = "TAXES", policyFee1Amount = "50.00", policyFee1AmountDownpay = "50.00", policyFee1UnpaidAmount = "0.00", policyFee2Type = "F", policyFee2Description = "FEES", policyFee2Amount = "100.00", policyFee2AmountDownpay = "100.00", policyFee2UnpaidAmount = "0.00", policyFee3Amount = "0.00", policyFee3AmountDownpay = "0.00", policyFee3UnpaidAmount = "0.00", policyFee4Amount = "0.00", policyFee4AmountDownpay = "0.00", policyFee4UnpaidAmount = "0.00", policyFilingFlag = "N", policyFilingDays = "0" }); newBillingArgs.policies = policies; HttpClientBase <IdentityModel> client = new HttpClientBase <IdentityModel>(); var ret = await client.SetUpNewBilling(newBillingArgs); Assert.NotNull(ret); }