public void TestPostAppendDocument()
        {
            PdfApi target = new PdfApi(APIKEY, APPSID, BASEPATH);
            StorageApi storageApi = new StorageApi(APIKEY, APPSID, BASEPATH);

            string name = "test.pdf";
            string appendFile = null;
            int? startPage = 1;
            int? endPage = 2;
            string storage = null;
            string folder = null;

            Com.Aspose.PDF.Model.AppendDocument body = new Com.Aspose.PDF.Model.AppendDocument();
            body.Document = "Barcode.pdf";
            body.StartPage = 1;
            body.EndPage = 2;

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

            Com.Aspose.PDF.Model.DocumentResponse actual;
            actual = target.PostAppendDocument(name, appendFile, startPage, endPage, storage, folder, body);

            Assert.AreEqual("200", actual.Code);
            Assert.IsInstanceOfType(new Com.Aspose.PDF.Model.DocumentResponse(), actual.GetType());
        }