Exemplo n.º 1
0
        public void ObjectNamesIncludingAncestorsPreserveOrderOfRegistration()
        {
            IList <string> names = ObjectFactoryUtils.ObjectNamesIncludingAncestors(_factory);

            Assert.AreEqual(5, names.Count);
            Assert.AreEqual(new string[] { "objA", "objB", "objC", "obj2A", "obj2C" }, names);
        }
        public void ObjectNamesIncludingAncestors()
        {
            IList <string> names = ObjectFactoryUtils.ObjectNamesIncludingAncestors(_factory);

            Assert.AreEqual(6, names.Count);
        }