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

            var compositionSettings = extensions.Composition();

            Assert.IsInstanceOf <AzureServiceBusCompositionSettings>(compositionSettings);
        }
        public void Should_be_able_to_set_the_composition_strategy()
        {
            var settings   = new SettingsHolder();
            var extensions = new TransportExtensions <AzureServiceBusTransport>(settings);

            var topicSettings = extensions.Composition().UseStrategy <MyCompositionStrategy>();

            Assert.AreEqual(typeof(MyCompositionStrategy), topicSettings.GetSettings().Get <Type>(WellKnownConfigurationKeys.Topology.Addressing.Composition.Strategy));
        }