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);
        }
        public void testCreateBlogPost()
        {
            ContentService service = new ContentService(TEST_URL,TEST_UID,TEST_PASS);

            BlogPostAsset p = new BlogPostAsset(service.GetEmptyAsset(AssetTypes.BlogPostAsset));

            p.AuthorName="nate";
            p.DisplayTitle="Test Post";
            p.PostBody="<div class=\"rxbodyfield\"><b>.NET Unit Test</b></div>";

            p.Asset.Path = "/Assets/uploads/new-test-blog-" + DateTime.Now.Ticks.ToString();
            p.Asset.Language = "en-us";
            p.Asset.CreateDate = DateTime.Now.ToUniversalTime().ToString();
            p.Asset.CreatedBy = "unittest";
            p.Asset.LastModifiedDate = DateTime.Now.ToUniversalTime().ToString();
            p.Asset.LastModifier = "unittest";

            Console.WriteLine(p.ToCreateAsset().ToString());
            service.CreateAsset(p.ToCreateAsset());
        }
        /// <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();
        }
        public void testPaths()
        {
            ContentService x = new ContentService(TEST_URL,TEST_UID,TEST_PASS);

            AssetPaths paths = x.GetPaths("/Assets/uploads");

            Assert.NotNull(paths);
        }