public void CellsOleObjectsGetWorksheetOleObjectTest() { // TODO uncomment below to test the method and replace null with proper value string name = BOOK1; string sheetName = SHEET6; int? objectNumber = 0; string folder = TEMPFOLDER; UpdateDataFile(folder, name); var response = instance.CellsOleObjectsGetWorksheetOleObject(name, sheetName, objectNumber, folder); Assert.IsInstanceOf <System.IO.Stream>(response, "response is System.IO.Stream"); }
public void CellsOleObjectsGetWorksheetOleObjectTest() { // TODO uncomment below to test the method and replace null with proper value string name = "Book1.xlsx"; string sheetName = "SHEET6"; int? objectNumber = 0; string format = null; string folder = null; new Config().UpdateDataFile(folder, name); var response = instance.CellsOleObjectsGetWorksheetOleObject(name, sheetName, objectNumber, format, folder); Console.WriteLine(response); }