public void TestGetFields() { PdfApi target = new PdfApi(APIKEY, APPSID, BASEPATH); StorageApi storageApi = new StorageApi(APIKEY, APPSID, BASEPATH); string name = "ABFillablewfields.pdf"; string storage = null; string folder = null; Com.Aspose.PDF.Model.FieldsResponse actual; actual = target.GetFields(name, storage, folder); System.Diagnostics.Debug.WriteLine("===================================="); foreach (Com.Aspose.PDF.Model.Link link in actual.Fields.Links) { System.Diagnostics.Debug.WriteLine("href: " + link.Href); System.Diagnostics.Debug.WriteLine("rel: " + link.Rel); System.Diagnostics.Debug.WriteLine("title: " + link.Title); System.Diagnostics.Debug.WriteLine("type: " + link.Type); } //System.Diagnostics.Debug.WriteLine("Actual: "); Assert.AreEqual("200", actual.Code); Assert.IsInstanceOfType(new Com.Aspose.PDF.Model.FieldsResponse(), actual.GetType()); }