public void CreateContainerShouldInitializeContainer()
        {
            var bootstrapper = new DefaultCastleWindsorBootstrapper();

            var container = bootstrapper.CallCreateContainer();

            Assert.IsNotNull(container);
            Assert.IsInstanceOfType(container, typeof(IWindsorContainer));
        }
        public void RunAddsCompositionContainerToContainer()
        {
            var bootstrapper = new DefaultCastleWindsorBootstrapper();

            var createdContainer  = bootstrapper.CallCreateContainer();
            var returnedContainer = createdContainer.Resolve <IWindsorContainer>();

            Assert.IsNotNull(returnedContainer);
            Assert.AreEqual(typeof(WindsorContainer), returnedContainer.GetType());
        }