示例#1
0
        public void ClassAndMethodAspectRunsOnMethods()
        {
            // --- Act
            _aspectedObject.Operation1();

            // --- Assert
            SimpleAspectAttribute.VisitInfo.ShouldEqual("cE1E1QcQ1ScS");
        }
示例#2
0
        public void ClassWithNoAspectWorks()
        {
            // --- Act
            _noAspectObject.Operation1();

            // --- Assert
            SimpleAspectAttribute.VisitInfo.ShouldEqual("");
        }