public void SetUp()
        {
            this.errorMessageProducer = A.Fake<IMessageProducer>();
            this.messageHandler = A.Fake<ActiveMqMessageHandler>();

            this.testee = new ActiveMqExceptionHandler(this.messageHandler);
        }
        public ActiveMqListener(
            IConnectionFactory connectionFactory, 
            ActiveMqExceptionHandler messageProcessor,
            string replyToQueue,
            string errorQueue)
        {
            this.connectionFactory = connectionFactory;
            this.messageProcessor = messageProcessor;
            this.errorQueue = errorQueue;

            this.queues = new List<string> { replyToQueue };
            this.AddQueuesFromEventsComingFromActiveMQ();
            this.AddQueuesFromEndpointMappingsConfiguration();
        }