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