public void TestGetDocumentProperty() { PdfApi target = new PdfApi(APIKEY, APPSID, BASEPATH); StorageApi storageApi = new StorageApi(APIKEY, APPSID, BASEPATH); string name = "pst-barcode-doc.pdf"; string propertyName = "Creator"; string storage = null; string folder = null; storageApi.PutCreate(name, null, null, System.IO.File.ReadAllBytes("\\temp\\pdf\\resources\\" + name)); Com.Aspose.PDF.Model.DocumentPropertyResponse actual; actual = target.GetDocumentProperty(name, propertyName, storage, folder); Assert.AreEqual("200", actual.Code); Assert.IsInstanceOfType(new Com.Aspose.PDF.Model.DocumentPropertyResponse(), actual.GetType()); }