public InvoiceDataBLLTest()
        {
            _mockInvoiceDataDAL = new Mock <IInvoiceDataDAL>();
            List <M_Country> _lstCountry = new List <M_Country>()
            {
                new M_Country()
                {
                    ID = 82, CountryCode = "DE", CountryName = "Germany", CountryLanguageCode = "1", Flag = "DE.png", M_LanguageID = 3, CreatedBy = 1, CreatedDate = DateTime.Now, UpdatedBy = 1, UpdatedDate = DateTime.Now
                },
                new M_Country()
                {
                    ID = 82, CountryCode = "IT", CountryName = "Italy", CountryLanguageCode = "1", Flag = "IT.png", M_LanguageID = 6, CreatedBy = 1, CreatedDate = DateTime.Now, UpdatedBy = 1, UpdatedDate = DateTime.Now
                },
            };

            _invoiceDataBLL = new InvoiceDataBLL(_mockInvoiceDataDAL.Object, _lstCountry);
        }
Exemple #2
0
        public void TestReadFile()
        {
            InvoiceDataBLL invoicedata = new InvoiceDataBLL();

            invoicedata.ReadFile(@"C:\Users\khoa.ngo\Desktop\TemplateInvoiceData27022018_02 - Copy.xls");
        }