public void GetLogWithObjectThrowsOnNullObject() { ILogger tested = new MockILogger(); DoAssert.Throws <ArgumentNullException>(() => tested.GetLog((object)null)); }
public void RequiresInnerILog() { DoAssert.Throws <ArgumentNullException>(() => new ProxyLog(null)); }
public void GetLogWithTypeThrowsOnNullType() { ILogger tested = new MockILogger(); DoAssert.Throws <ArgumentNullException>(() => tested.GetLog((Type)null)); }
public void RequiresInnnerLoggerFactory() { DoAssert.Throws <ArgumentNullException>(() => new ProxyLoggerFactory(null)); }