public void ApplicationConfiguration()
        {
            var container    = new Container();
            var configModule = new ConfigurationModule <IApplicationConfiguration, ApplicationConfiguration>(
                new ConfigurationBuilder().Build(), new HostingEnvironment());

            configModule.RegisterServices(container);

            container.GetInstance <IApplicationConfiguration>().Should().BeOfType <ApplicationConfiguration>();
        }
        public void ConfigurationExtended()
        {
            var container    = new Container();
            var configModule = new ConfigurationModule <IExtendedConfiguration, ExtendedConfiguration>(
                new ConfigurationBuilder().Build(), new HostingEnvironment());

            configModule.RegisterServices(container);

            var applicationConfig = container.GetInstance <IApplicationConfiguration>();

            applicationConfig.Should().BeOfType <ExtendedConfiguration>();
            container.GetInstance <IExtendedConfiguration>().Should().BeOfType <ExtendedConfiguration>().And.BeSameAs(applicationConfig);
        }