public void ReturnCorrectMessageTypeFromQueueNameGivenMessageType()
        {
            var componentUnderTest = new RabbitMQQueueNameConvention();

             var queueName = componentUnderTest.GetQueueName(typeof(TestMessage));
             var messageType = componentUnderTest.GetMessageType(queueName);

             Assert.That(messageType, Is.EqualTo(typeof(TestMessage)));
        }
        public void ImplementIQueueNameConvention()
        {
            var componentUnderTest = new RabbitMQQueueNameConvention();

             Assert.That(componentUnderTest, Is.InstanceOf<IQueueNameConvention>());
        }
 public void SetupBeforeEachTest()
 {
     this.componentUnderTest = new RabbitMQQueueNameConvention();
 }