public void GetWaitingMessagesTest()
        {
            var manager = new QueueMessageManagerSql();

            var items = manager.GetWaitingQueueMessages();

            Assert.IsNotNull(items);

            foreach (var item in items)
            {
                Console.WriteLine(item.Submitted + " - " + item.Id + " - " + item.Message);
            }
        }
        public void GetWaitingMessagesTest()
        {
            var manager = new QueueMessageManagerSql()
            {
                AutoCreateDataStore = true
            };

            var items = manager.GetWaitingQueueMessages();

            Assert.IsNotNull(items, manager.ErrorMessage);

            foreach (var item in items)
            {
                Console.WriteLine(item.Submitted + " - " + item.Id + " - " + item.Message);
            }
        }