Exemplo n.º 1
0
        public static void Method0_4()
        {
            //TestSet0
            var container = new Container(new TypeActivator(), new TypeConstructor(), new TypeFilter(), new TypeParser(), new TypeResolver());

            Assert.NotNull(container.Builder.Resolver);
        }
Exemplo n.º 2
0
        public static void Method1()
        {
            //TestSet0
            var container = new Container();

            container.RegisterType <SqlDataRepository>();
            container.RegisterType <ServiceDataRepository>();
            try
            {
                container.Reset();
                Assert.True(true);
            }
            catch (Exception)
            {
                Assert.True(false);
            }
        }