예제 #1
0
        public void CanVerifyContainer()
        {
            var container = new Container();
            var adapter   = new SimpleInjectorContainerAdapter(container);

            adapter.SetBus(new FakeBus());

            container.Verify();
        }
예제 #2
0
        public void CanVerifyContainer()
        {
            var container = new Container {
                Options = { DefaultScopedLifestyle = ScopedLifestyle.Flowing }
            };
            var adapter = new SimpleInjectorContainerAdapter(container);

            adapter.SetBus(new FakeBus());

            container.Verify();
        }