public void TestPostSlidesSaveAsHtml() { SlidesApi target = new SlidesApi(APIKEY, APPSID, BASEPATH); StorageApi storageApi = new StorageApi(APIKEY, APPSID, BASEPATH); string name = "test_slide.pptx"; string password = null; string storage = null; string folder = null; string outPath = null; HtmlExportOptions body = new HtmlExportOptions(); body.SaveAsZip = true; storageApi.PutCreate(name, null, null, System.IO.File.ReadAllBytes("\\temp\\slides\\resources\\" + name)); ResponseMessage actual; actual = target.PostSlidesSaveAsHtml(name, password, storage, folder, outPath, body); Assert.AreEqual(200, actual.Code); Assert.IsInstanceOfType(new Com.Aspose.Slides.Model.ResponseMessage(), actual.GetType()); }