public void CellsShapesPostWorksheetShapeTest() { string name = "Book1.xlsx"; string sheetName = "SHEET1"; int? shapeindex = 0; Shape dto = new Shape(); dto.LowerRightColumn = 10; string folder = null; new Config().UpdateDataFile(folder, name); var response = instance.CellsShapesPostWorksheetShape(name, sheetName, shapeindex, dto, folder); Console.WriteLine(response); }
public void CellsShapesPostWorksheetShapeTest() { // TODO uncomment below to test the method and replace null with proper value string name = BOOK1; string sheetName = SHEET1; int? shapeindex = 0; Shape dto = new Shape(); dto.LowerRightColumn = 10; string folder = TEMPFOLDER; UpdateDataFile(folder, name); var response = instance.CellsShapesPostWorksheetShape(name, sheetName, shapeindex, dto, folder); Assert.IsInstanceOf <SaaSposeResponse>(response, "response is SaaSposeResponse"); Assert.AreEqual(response.Code, 200); }