public DMLibDataInfo GenerateSourceDataInfo(FileNumOption fileNumOption, int totalSizeInKB, string folderName = "")
        {
            DMLibDataInfo sourceDataInfo = new DMLibDataInfo(folderName);

            if (fileNumOption == FileNumOption.FileTree)
            {
                DMLibDataHelper.AddTreeTotalSize(
                    sourceDataInfo.RootNode,
                    DMLibTestBase.DirName,
                    DMLibTestBase.FileName,
                    DMLibTestConstants.RecursiveFolderWidth,
                    DMLibTestConstants.RecursiveFolderDepth,
                    totalSizeInKB);
            }
            else if (fileNumOption == FileNumOption.FlatFolder)
            {
                DMLibDataHelper.AddMultipleFilesTotalSize(
                    sourceDataInfo.RootNode,
                    DMLibTestBase.FileName,
                    DMLibTestConstants.FlatFileCount,
                    totalSizeInKB);
            }
            else if (fileNumOption == FileNumOption.OneFile)
            {
                DMLibDataHelper.AddOneFile(sourceDataInfo.RootNode, DMLibTestBase.FileName, totalSizeInKB);
            }

            return(sourceDataInfo);
        }