public void Should_be_able_to_set_custom_converter()
        {
            var settings   = new SettingsHolder();
            var extensions = new TransportExtensions <AzureServiceBusTransport>(settings);

#pragma warning disable 618
            extensions.UseBrokeredMessageToIncomingMessageConverter <ConvertBrokeredMessagesToIncomingMessages>();
#pragma warning restore 618
            Assert.AreEqual(typeof(ConvertBrokeredMessagesToIncomingMessages), settings.Get <Type>(WellKnownConfigurationKeys.BrokeredMessageConventions.ToIncomingMessageConverter));
        }