示例#1
0
        public void ProfilingBehaviorInvokeInputNullTest()
        {
            var target = new ProfilingBehavior(_logger, _profiler);

            target.Invoke(null, new GetNextInterceptionBehaviorDelegate(() => null));
        }
示例#2
0
 public void ProfilingBehaviorConstructorProfilerNullTest()
 {
     var target = new ProfilingBehavior(_logger, null);
 }
示例#3
0
        public void ProfilingBehaviorConstructorTest()
        {
            var target = new ProfilingBehavior(_logger, _profiler);

            Assert.IsNotNull(target);
        }
示例#4
0
 public void ProfilingBehaviorConstructorLoggerNullTest()
 {
     var target = new ProfilingBehavior(null, _profiler);
 }
示例#5
0
        public void ProfilingBehaviorInvokeDelegateNullTest()
        {
            var target = new ProfilingBehavior(_logger, _profiler);

            target.Invoke(new Mock <IMethodInvocation>().Object, null);
        }