Пример #1
0
        public void GetLogWithObjectThrowsOnNullObject()
        {
            ILogger tested = new MockILogger();

            DoAssert.Throws <ArgumentNullException>(() => tested.GetLog((object)null));
        }
Пример #2
0
 public void RequiresInnerILog()
 {
     DoAssert.Throws <ArgumentNullException>(() => new ProxyLog(null));
 }
Пример #3
0
        public void GetLogWithTypeThrowsOnNullType()
        {
            ILogger tested = new MockILogger();

            DoAssert.Throws <ArgumentNullException>(() => tested.GetLog((Type)null));
        }
 public void RequiresInnnerLoggerFactory()
 {
     DoAssert.Throws <ArgumentNullException>(() => new ProxyLoggerFactory(null));
 }