public void CellsWorksheetsPostAutofitWorksheetColumnsTest() { string name = "Book1.xlsx"; string sheetName = "SHEET1"; int? firstColumn = 1; int? lastColumn = 10; AutoFitterOptions autoFitterOptions = null; int? firstRow = 1; int? lastRow = 19; string folder = null; new Config().UpdateDataFile(folder, name); var response = instance.CellsWorksheetsPostAutofitWorksheetColumns(name, sheetName, firstColumn, lastColumn, autoFitterOptions, firstRow, lastRow, folder); Console.WriteLine(response); }
public void CellsWorksheetsPostAutofitWorksheetColumnsTest() { // TODO uncomment below to test the method and replace null with proper value string name = BOOK1; string sheetName = SHEET1; int? firstColumn = 1; int? lastColumn = 10; AutoFitterOptions autoFitterOptions = null; int? firstRow = 1; int? lastRow = 19; string folder = TEMPFOLDER; UpdateDataFile(folder, name); var response = instance.CellsWorksheetsPostAutofitWorksheetColumns(name, sheetName, firstColumn, lastColumn, autoFitterOptions, firstRow, lastRow, folder); Assert.IsInstanceOf <SaaSposeResponse>(response, "response is SaaSposeResponse"); Assert.AreEqual(response.Code, 200); }