示例#1
0
        public void TestGetDocumentBookmarksChildren()
        {
            PdfApi target = new PdfApi(APIKEY, APPSID, BASEPATH);
            StorageApi storageApi = new StorageApi(APIKEY, APPSID, BASEPATH);

            string name = "Sample-Bookmark.pdf";
            string bookmarkPath = null;
            string storage = null;
            string folder = null;

            storageApi.PutCreate(name, null, null, System.IO.File.ReadAllBytes("\\temp\\pdf\\resources\\" + name));

            Com.Aspose.PDF.Model.ResponseMessage actual;
            actual = target.GetDocumentBookmarksChildren(name, bookmarkPath, storage, folder);

            Assert.AreNotEqual(null, actual);
            Assert.IsInstanceOfType(new Com.Aspose.PDF.Model.ResponseMessage(), actual.GetType());
        }