public void SetupContainer()
        {
            _container = new WindsorContainer();
            _container.ConfigureWiringForTestsCallBeforeAllOtherWiring();
            ApplicationBootstrapper.ConfigureContainer(_container);

            _container.Register(
                Component.For <IServiceBus>().ImplementedBy <SynchronousBus>()
                .Named("TestReplacementServiceBus")
                .LifestylePerWebRequest()
                .IsDefault()
                );

            _container.ConfigureWiringForTestsCallAfterAllOtherWiring();
        }