Esempio n. 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);
        }
Esempio n. 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);
        }
Esempio n. 3
0
 public override void OnEntry(MethodExecutionArgs args)
 {
     logging.OnEntry(args);
 }