public void TestPutPresentationMerge() { SlidesApi target = new SlidesApi(APIKEY, APPSID, BASEPATH); StorageApi storageApi = new StorageApi(APIKEY, APPSID, BASEPATH); string name = "test_slide.pptx"; string mergeFile1 = "welcome.pptx"; string mergeFile2 = "demo.pptx"; string storage = null; string folder = null; OrderedMergeRequest body = new OrderedMergeRequest(); PresentationToMerge ptm1 = new PresentationToMerge(); ptm1.Path = mergeFile1; PresentationToMerge ptm2 = new PresentationToMerge(); ptm2.Path = mergeFile2; body.Presentations = new System.Collections.Generic.List<PresentationToMerge> {ptm1, ptm2 }; storageApi.PutCreate(name, null, null, System.IO.File.ReadAllBytes("\\temp\\slides\\resources\\" + name)); DocumentResponse actual; actual = target.PutPresentationMerge(name, storage, folder, body); Assert.AreEqual("200", actual.Code); Assert.IsInstanceOfType(new Com.Aspose.Slides.Model.DocumentResponse(), actual.GetType()); }