public void A_Message_Put_On_The_Queue_Wth_Null_Label_Is_Not_Sent()
        {
            const string label = null;

            DeleteAllMessagesFromQueues();
            int depth = _textQueueWrapper.GetQueueDepth();

            Assert.That(depth, Is.EqualTo(0));

            bool wasSent = _textQueueWrapper.Send("Payload", label);

            Assert.False(wasSent);

            depth = _intQueueWrapper.GetQueueDepth();
            Assert.That(depth, Is.EqualTo(0));
        }
        public void A_Text_Message_Is_Put_On_The_Queue()
        {
            string label = string.Empty;

            DeleteAllMessagesFromQueues();
            int depth = _textQueueWrapper.GetQueueDepth();

            Assert.That(depth, Is.EqualTo(0));

            bool wasSent = _textQueueWrapper.Send("Payload", label);

            Assert.True(wasSent);

            depth = _textQueueWrapper.GetQueueDepth();
            Assert.That(depth, Is.EqualTo(1));
        }