コード例 #1
0
        public void TestPutCreateDocument()
        {
            PdfApi target = new PdfApi(APIKEY, APPSID, BASEPATH);
            StorageApi storageApi = new StorageApi(APIKEY, APPSID, BASEPATH);

            string name = "test.pdf";
            string templateFile = null;
            string dataFile = null;
            string templateType = null;
            string storage = null;
            string folder = null;

            Com.Aspose.PDF.Model.DocumentResponse actual;
            actual = target.PutCreateDocument(name, templateFile, dataFile, templateType, storage, folder);

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