public void should_read_default_registration_timeout()
        {
            RemoveAppSettingsKey("Bus.Directory.RegistrationTimeout");

            var configuration = new AppSettingsBusConfiguration();
            configuration.RegistrationTimeout.ShouldEqual(30.Seconds());
        }
        public void should_read_registration_timeout()
        {
            SetAppSettingsKey("Bus.Directory.RegistrationTimeout", "00:00:42");

            var configuration = new AppSettingsBusConfiguration();
            configuration.RegistrationTimeout.ShouldEqual(42.Seconds());
        }