public void Test_ApplicationEventIsError() { var handler = new ScopedLoggingHandler(logger.Object); Assert.Equal(DynamicHttpHandlerEvent.BeginRequest, handler.ApplicationEvent); }
public void Test_IsEnabledShouldReturnTrue() { var handler = new ScopedLoggingHandler(logger.Object); Assert.True(handler.IsEnabled(null)); }
public void Test_PathIsNull() { var handler = new ScopedLoggingHandler(logger.Object); Assert.Null(handler.Path); }
public void Test_ContinueNextShouldReturnTrue() { var handler = new ScopedLoggingHandler(logger.Object); Assert.True(handler.ContinueNext(null)); }