/// <summary>
        /// Write Notification Details To Table Storage
        /// </summary>
        /// <param name="tenantClient"></param>
        /// <param name="fileID"></param>
        /// <param name="fileUploadStatus"></param>
        public bool WriteNotificationToStorage(string TenantId,String fileID, String fileUploadStatus, string notificationMode, string recipientDetail, bool isNotified)
        {
            try
            {
                bool notifyStatus = false;
                string notificationStatusTableName = eZeeFlow.Common.Constants.notificationStatusTableName;
                string timeString = (DateTime.MaxValue.Ticks - DateTime.UtcNow.Ticks).ToString("d19");
                TenantEntity tenant = new TenantEntity(TenantId, timeString);
                tenant.FileID = fileID;
                tenant.FileUploadStatus = fileUploadStatus;
                tenant.NotificationMode = notificationMode;
                tenant.RecipientDetail = recipientDetail;
                tenant.IsNotified = isNotified;

                TableHelper _tableHelper = new TableHelper(Common.Constants.StorageConnectionString);
                notifyStatus = _tableHelper.InsertEntity(notificationStatusTableName, tenant);

                return notifyStatus;
            }
            catch (Exception ex)
            {
                DataHubTraceListener traceListener = new DataHubTraceListener();
                traceListener.WriteLog(Categories.Error, "Eventing", ex.Message.ToString(), ex.StackTrace.ToString());
                return false;
            }
        }
 public void WriteLineTest()
 {
     DataHubTraceListener target = new DataHubTraceListener(); // TODO: Initialize to an appropriate value
     string message = string.Empty; // TODO: Initialize to an appropriate value
     message = "Message1";
     target.WriteLine(message);
        // Assert.Inconclusive("A method that does not return a value cannot be verified.");
 }
        public void WriteLineTest()
        {
            DataHubTraceListener target = new DataHubTraceListener(); // TODO: Initialize to an appropriate value
            string message = string.Empty;                            // TODO: Initialize to an appropriate value

            message = "Message1";
            target.WriteLine(message);
            // Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        public void WriteLogTest()
        {
            DataHubTraceListener target = new DataHubTraceListener(); // TODO: Initialize to an appropriate value
            string roleInstanceId = string.Empty; // TODO: Initialize to an appropriate value
            string deploymentId = string.Empty; // TODO: Initialize to an appropriate value
            string category = string.Empty; // TODO: Initialize to an appropriate value
            string loggingModule = string.Empty; // TODO: Initialize to an appropriate value
            string message = string.Empty; // TODO: Initialize to an appropriate value
            string stackTrace = string.Empty; // TODO: Initialize to an appropriate value
            string tenantId = string.Empty; // TODO: Initialize to an appropriate value

            roleInstanceId = "String1";
            deploymentId = "String1";
            category = "String1";
            loggingModule = "String1";
            message = "String1";
            stackTrace = "String1";
            tenantId = "F15BF469-1D9C-49FE-AE18-638D7BAFF053";

            target.WriteLog(roleInstanceId, deploymentId, category, loggingModule, message, stackTrace, tenantId);
            //Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
        public void WriteLogTest()
        {
            DataHubTraceListener target = new DataHubTraceListener(); // TODO: Initialize to an appropriate value
            string roleInstanceId       = string.Empty;               // TODO: Initialize to an appropriate value
            string deploymentId         = string.Empty;               // TODO: Initialize to an appropriate value
            string category             = string.Empty;               // TODO: Initialize to an appropriate value
            string loggingModule        = string.Empty;               // TODO: Initialize to an appropriate value
            string message    = string.Empty;                         // TODO: Initialize to an appropriate value
            string stackTrace = string.Empty;                         // TODO: Initialize to an appropriate value
            string tenantId   = string.Empty;                         // TODO: Initialize to an appropriate value

            roleInstanceId = "String1";
            deploymentId   = "String1";
            category       = "String1";
            loggingModule  = "String1";
            message        = "String1";
            stackTrace     = "String1";
            tenantId       = "F15BF469-1D9C-49FE-AE18-638D7BAFF053";

            target.WriteLog(roleInstanceId, deploymentId, category, loggingModule, message, stackTrace, tenantId);
            //Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
 public void DataHubTraceListenerConstructorTest()
 {
     DataHubTraceListener target = new DataHubTraceListener();
     //Assert.Inconclusive("TODO: Implement code to verify target");
 }
 public void DataHubTraceListenerConstructorTest()
 {
     DataHubTraceListener target = new DataHubTraceListener();
     //Assert.Inconclusive("TODO: Implement code to verify target");
 }