Ejemplo n.º 1
0
        public void ProfilingBehaviorInvokeInputNullTest()
        {
            var target = new ProfilingBehavior(_logger, _profiler);

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

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

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