public void MefInstanceCount2Test()
        {
            CountableMefComponent.ResetInstanceCount();
            IUnityContainer container = ConfigureMefThenUnity();
            var             countable = container.Resolve <ICountableMefComponent>();

            Assert.AreEqual(1, countable.InstanceCount);
        }
        public void MefInstanceCountTest()
        {
            CountableMefComponent.ResetInstanceCount();
            IAutofacContainer container = ConfigureAutofacThenMef();
            var countable = container.Resolve <ICountableMefComponent>();

            Assert.AreEqual(1, countable.InstanceCount);
        }