Esempio n. 1
0
 public void LogT_ShouldInvokeInnerGenericLog_OnNotNullInstance()
 {
     _strategy.Log(LogLevel.Info, "hello world !", new StringBuilder());
     _strategy.VerifyInnerGenericLog();
 }
Esempio n. 2
0
 public void LogT_ShouldDisplayInstance_OnNotNullInstance()
 {
     _logger.Log(LogLevel.Info, "hello world!", new MemoryStream());
     _firstStrategy.VerifyInnerGenericLog();
     _secondStrategy.VerifyInnerGenericLog();
 }
Esempio n. 3
0
 public void LogT_ShouldUseAllStrategies_OnNotNullInstance()
 {
     _logger.Log(LogLevel.Info, "hello world !", new StringBuilder());
     _firstStrategy.VerifyInnerGenericLog();
     _secondStrategy.VerifyInnerGenericLog();
 }