Ejemplo n.º 1
0
        public void Initialize_Called_For_Every_Nested_Method()
        {
            var t2= new Test2Class();
            t2.SimpleMethod();
            t2.SimpleMethod2();

            Assert.Contains (typeof (Test2Class).GetMethod ("SimpleMethod"), methodInfos2);
            Assert.Contains (typeof (Test2Class).GetMethod ("SimpleMethod2"), methodInfos2);
        }