public void ThenShouldBeAbleToResolveDependenciesThroughConfigurationChangeEvent()
        {
            StaticFu resolvedStaticFu = EnterpriseLibraryContainer.Current.GetInstance <StaticFu>();

            Assert.AreSame(staticFu, resolvedStaticFu);
            Assert.IsInstanceOfType(resolvedStaticFu.MyInnerFoo, typeof(Tofu));
        }
        protected override void Act()
        {
            IServiceLocator locator = EnterpriseLibraryContainer.CreateDefaultContainer(GetConfig());

            EnterpriseLibraryContainer.Current = locator;
            staticFu = EnterpriseLibraryContainer.Current.GetInstance <StaticFu>();
            Assert.IsInstanceOfType(staticFu.MyInnerFoo, typeof(Foo));

            updatableConfigSource.DoSourceChanged(new[] { "MockRegistrationProvider" });
        }
        protected override void Act()
        {
            IServiceLocator locator = EnterpriseLibraryContainer.CreateDefaultContainer(GetConfig());
            EnterpriseLibraryContainer.Current = locator;
            staticFu = EnterpriseLibraryContainer.Current.GetInstance<StaticFu>();
            Assert.IsInstanceOfType(staticFu.MyInnerFoo, typeof(Foo));

            updatableConfigSource.DoSourceChanged(new[] { "MockRegistrationProvider" });
        }