public void ShouldSucceedForMaxLevel()
 {
     using (var textWriter = new StringWriter())
     {
         var loggingConfiguration = new LoggingConfiguration();
         NLogTextWriterHelpers.ConfigureNLogToTextWriterOnExistingLoggingConfiguration(loggingConfiguration, textWriter, LogLevel.Debug, LogLevel.Error);
     }
 }
 public void ThrowsArgumentNullExceptionForLoggingConfiguration()
 {
     using (var textWriter = new StringWriter())
     {
         var exception = Assert.Throws <ArgumentNullException>(() => NLogTextWriterHelpers.ConfigureNLogToTextWriterOnExistingLoggingConfiguration(null, textWriter));
         Assert.Equal("loggingConfiguration", exception.ParamName);
     }
 }
            public void ThrowsArgumentNullExceptionForTextWriter()
            {
                var loggingConfiguration = new LoggingConfiguration();
                var exception            = Assert.Throws <ArgumentNullException>(() => NLogTextWriterHelpers.ConfigureNLogToTextWriterOnExistingLoggingConfiguration(loggingConfiguration, null));

                Assert.Equal("textWriter", exception.ParamName);
            }