Exemplo n.º 1
0
        public void VerifyAddFormOrderErrorMessages()
        {
            CategoryFacade facade = new CategoryFacade();
            var path = PathGenerator.AbsoluteRelativeCombine(Paths.DataBindLocation + "CategoryFormOrder.xlsx");

            foreach (var sheet in Workbook.Worksheets(path))
            {
                foreach (var row in sheet.Rows)
                {
                    Categories category = new Categories(row.Cells);

                    facade.AddCategory(category);

                    facade.AssertOrderErrorMessage(category);
                }
            }
        }