Exemplo n.º 1
0
        public void InitializeShellComposesShell()
        {
            var bootstrapper = new DefaultMefBootstrapper();
            var container    = new CompositionContainer();
            var shell        = new DefaultShell();

            bootstrapper.BaseContainer = container;
            bootstrapper.BaseShell     = shell;

            bootstrapper.CallInitializeShell();

            Assert.IsTrue(shell.AreImportsSatisfied);
        }