public void CellsChartsPutWorksheetChartTitleTest() { string name = "myDocument.xlsx"; string sheetName = "SHEET3"; int? chartIndex = 0; Title title = new Title(); title.Text = "New title"; string folder = null; new Config().UpdateDataFile(folder, name); var response = instance.CellsChartsPutWorksheetChartTitle(name, sheetName, chartIndex, title, folder); Console.WriteLine(response); }
public void CellsChartsPutWorksheetChartTitleTest() { // TODO uncomment below to test the method and replace null with proper value string name = MYDOC; string sheetName = SHEET3; int? chartIndex = 0; Title title = new Title(); title.Text = "New title"; string folder = TEMPFOLDER; UpdateDataFile(folder, name); var response = instance.CellsChartsPutWorksheetChartTitle(name, sheetName, chartIndex, title, folder); Assert.IsInstanceOf <TitleResponse>(response, "response is TitleResponse"); Assert.AreEqual(response.Code, 200); }