예제 #1
0
        public void TestOnEntry() {
            var args = TypeMock.GetMock<MethodExecutionArgs>();  // I haven't used TypeMock I don't know the syntax
            // ...arrange args...

            var ccc = new LoggingCrossCuttingConcern();
            ccc.OnEntry(args);
        }
예제 #2
0
        public void TestOnEntry()
        {
            var args = TypeMock.GetMock <MethodExecutionArgs>();  // I haven't used TypeMock I don't know the syntax
            // ...arrange args...

            var ccc = new LoggingCrossCuttingConcern();

            ccc.OnEntry(args);
        }
예제 #3
0
 public override void OnEntry(MethodExecutionArgs args)
 {
     logging.OnEntry(args);
 }