示例#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);
 }