public void CellsOleObjectsPostUpdateWorksheetOleObjectTest() { // TODO uncomment below to test the method and replace null with proper value string name = "Book1.xlsx"; string sheetName = "SHEET6"; int? oleObjectIndex = 0; OleObject ole = new OleObject(); ole.Left = 10; ole.Right = 10; ole.Height = 90; ole.Width = 78; string folder = null; new Config().UpdateDataFile(folder, name); var response = instance.CellsOleObjectsPostUpdateWorksheetOleObject(name, sheetName, oleObjectIndex, ole, folder); Console.WriteLine(response); }
public void CellsOleObjectsPostUpdateWorksheetOleObjectTest() { // TODO uncomment below to test the method and replace null with proper value string name = BOOK1; string sheetName = SHEET6; int? oleObjectIndex = 0; OleObject ole = new OleObject(); ole.Left = 10; ole.Right = 10; ole.Height = 90; ole.Width = 78; string folder = TEMPFOLDER; UpdateDataFile(folder, name); var response = instance.CellsOleObjectsPostUpdateWorksheetOleObject(name, sheetName, oleObjectIndex, ole, folder); Assert.IsInstanceOf <SaaSposeResponse>(response, "response is SaaSposeResponse"); Assert.AreEqual(response.Code, 200); }