コード例 #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();
        }