public void InstrumentedWFA_Container_IsNot_WFA_Container()
        {
            var wfa1 = new WFA();
            var wfa2 = new InstrumentedWFA();

            Assert.IsNotNull(wfa1.Container);
            Assert.IsNotNull(wfa2.Container);

            Assert.AreNotSame(wfa1.Container, wfa2.Container);
        }
        public void WFA_Container_Initialization()
        {
            var plugin = new WFA();

            Assert.IsNotNull(plugin.Container);
            Assert.AreEqual(6, plugin.Container.Count);

            //verify expected concreate implementations for each registered interface.
            Assert.IsTrue(plugin.Container.IsRegisteredAs <ICacheFactory, CacheFactory>());
            Assert.IsTrue(plugin.Container.IsRegisteredAs <IConfigurationFactory, ConfigurationFactory>());
            Assert.IsTrue(plugin.Container.IsRegisteredAs <ILocalWorkflowActivityContextFactory, LocalWorkflowActivityContextFactory>());
            Assert.IsTrue(plugin.Container.IsRegisteredAs <IRijndaelEncryption, RijndaelEncryption>());
            Assert.IsTrue(plugin.Container.IsRegisteredAs <IExtensionSettingsConfig, DefaultExtensionSettingsConfig>());
            Assert.IsTrue(plugin.Container.IsRegisteredAs <IPluginWebRequestFactory, PluginHttpWebRequestFactory>());
        }