public void testExport() { ContentService export = new ContentService(TEST_URL,TEST_UID,TEST_PASS); ExportAsset asset = export.GetAsset("/uploads/Widget Development Quick Start.doc"); Assert.NotNull(asset); }
/// <summary> /// Tests the export asset helper. Used primary to collect JSON for the various Asset Types. /// </summary> /// <param name='assetType'> /// Asset type. /// </param> /// <param name='assetPath'> /// Asset path. /// </param> private void testExportAssetHelper(string assetPath, string assetType) { ContentService export = new ContentService(TEST_URL,TEST_UID,TEST_PASS); ExportAsset asset = export.GetAsset(assetPath); Assert.NotNull(asset); Console.WriteLine(); Console.WriteLine(assetType); Console.WriteLine(asset.ToString()); Console.WriteLine(); }