예제 #1
0
        public void FindsDetailDefinedOnClass()
        {
            IList <IEditable> editables = explorer.Find <IEditable>(typeof(Items.DefinitionTwoColumnPage));

            Assert.AreEqual(2, editables.Count);
            TypeAssert.AreEqual(typeof(N2.Details.WithEditableTitleAttribute), editables[0]);
            TypeAssert.AreEqual(typeof(N2.Details.WithEditableNameAttribute), editables[1]);
        }