Ejemplo n.º 1
0
        public virtual void TestFolders()
        {
            server.setResponseBody("../../../TestSDK/resources/getHomeFolders.json");

            HomeFolderResources folders = homeResources.Folders();

            Assert.NotNull(folders.ListFolders());
            Assert.True(folders.ListFolders().Count == 5);
        }
 /// <summary>
 /// Constructor.
 /// 
 /// Exceptions: - IllegalArgumentException : if any argument is null
 /// </summary>
 /// <param name="smartsheet"> the Smartsheet </param>
 public HomeResourcesImpl(SmartsheetImpl smartsheet)
     : base(smartsheet)
 {
     this.folders = new HomeFolderResourcesImpl(smartsheet);
 }
 /// <summary>
 /// Constructor.
 ///
 /// Exceptions: - IllegalArgumentException : if any argument is null
 /// </summary>
 /// <param name="smartsheet"> the Smartsheet </param>
 public HomeResourcesImpl(SmartsheetImpl smartsheet)
     : base(smartsheet)
 {
     this.folders = new HomeFolderResourcesImpl(smartsheet);
 }