Exemplo n.º 1
0
        public void ClassAndMethodAspectRunsOnMethods()
        {
            // --- Act
            _aspectedObject.Operation1();

            // --- Assert
            SimpleAspectAttribute.VisitInfo.ShouldEqual("cE1E1QcQ1ScS");
        }
Exemplo n.º 2
0
        public void ClassWithNoAspectWorks()
        {
            // --- Act
            _noAspectObject.Operation1();

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