Beispiel #1
0
 public void Log_ShouldInvokeInnerLogMethod()
 {
     _strategy.Log(LogLevel.Info, "hello world !");
     _strategy.VerifyInnerLog();
 }
Beispiel #2
0
 public void Log_ShouldLogWithInstanceName()
 {
     _logger.Log(LogLevel.Info, "hello world !");
     _firstStrategy.VerifyInnerLog();
     _secondStrategy.VerifyInnerLog();
 }
 public void Log_ShouldUseAllStrategies()
 {
     _logger.Log(LogLevel.Info, "hello world !");
     _firstStrategy.VerifyInnerLog();
     _secondStrategy.VerifyInnerLog();
 }