public static void ClassInit(TestContext context)
 {
     //-- Arrange
     var storageName     = ConfigurationManager.AppSettings["Azure.Logger.Storage.Name"];
     var accessKey       = ConfigurationManager.AppSettings["Azure.Logger.Storage.AccessKey"];
     var tableName       = ConfigurationManager.AppSettings["Azure.Logger.TableRepository.Name"];
     var logLevel        = "WARN";
     var ignoreException = false;
     Logger              = new AzureCloudTableLogger(storageName, accessKey, tableName, logLevel, ignoreException);
 }
        public static void ClassInit(TestContext context)
        {
            //-- Arrange
            var storageName     = ConfigurationManager.AppSettings["Azure.Logger.Storage.Name"];
            var accessKey       = ConfigurationManager.AppSettings["Azure.Logger.Storage.AccessKey"];
            var tableName       = ConfigurationManager.AppSettings["Azure.Logger.TableRepository.Name"];
            var logLevel        = "WARN";
            var ignoreException = false;

            Logger = new AzureCloudTableLogger(storageName, accessKey, tableName, logLevel, ignoreException);
        }
        public void AzureCloudTableLogger_Constructor_Sunny_1()
        {
            //-- Arrange
            var storageName = "applicationlogs";
            var accessKey = "71/eSWyB9fk0k7Wt9GTKADsPh86WyXv6sdBjx9Kv1+TGu3y8A46X7xv4WFuXxeF8ploCN5sgHzHjF+FOej0iLw==";
            var tableName = "sandbox";

            //-- Act
            AzureCloudTableLogger logger = new AzureCloudTableLogger(storageName, accessKey, tableName);

            //-- Assert
            Assert.IsNotNull(logger);
            Assert.IsTrue(logger.IsConnected);
            Assert.AreEqual(false, logger.IsDebugEnabled);
            Assert.AreEqual(false, logger.IsInfoEnabled);
            Assert.AreEqual(true, logger.IsWarnEnabled);
            Assert.AreEqual(true, logger.IsErrorEnabled);
            Assert.AreEqual(true, logger.IsFatalEnabled);
        }
        public void AzureCloudTableLogger_Constructor_Sunny_1()
        {
            //-- Arrange
            var storageName = "applicationlogs";
            var accessKey   = "71/eSWyB9fk0k7Wt9GTKADsPh86WyXv6sdBjx9Kv1+TGu3y8A46X7xv4WFuXxeF8ploCN5sgHzHjF+FOej0iLw==";
            var tableName   = "sandbox";

            //-- Act
            AzureCloudTableLogger logger = new AzureCloudTableLogger(storageName, accessKey, tableName);

            //-- Assert
            Assert.IsNotNull(logger);
            Assert.IsTrue(logger.IsConnected);
            Assert.AreEqual(false, logger.IsDebugEnabled);
            Assert.AreEqual(false, logger.IsInfoEnabled);
            Assert.AreEqual(true, logger.IsWarnEnabled);
            Assert.AreEqual(true, logger.IsErrorEnabled);
            Assert.AreEqual(true, logger.IsFatalEnabled);
        }