public ActiveMqMessageHandler(
     CorrelationIdAndAddressTranscoder correlationIdAndAddressTranscoder,
     ActiveMqMessageDeserializer messageDeserializer,
     MessageSender messageSender,
     MessageTypeInterpreter messageTypeInterpreter)
 {
     this.correlationIdAndAddressTranscoder = correlationIdAndAddressTranscoder;
     this.messageDeserializer = messageDeserializer;
     this.messageSender = messageSender;
     this.messageTypeInterpreter = messageTypeInterpreter;
 }
        public void SetUp()
        {
            this.messageDeserializer = A.Fake<ActiveMqMessageDeserializer>();
            this.messageTypeInterpreter = A.Fake<MessageTypeInterpreter>();
            this.correlationIdAndAddressTranscoder = A.Fake<CorrelationIdAndAddressTranscoder>();
            this.messageSender = A.Fake<MessageSender>();

            this.testee = new ActiveMqMessageHandler(
                this.correlationIdAndAddressTranscoder,
                this.messageDeserializer,
                this.messageSender,
                this.messageTypeInterpreter);
        }