Inheritance: IMessageLogger
 public void Setup()
 {
     _internalLogger     = MockRepository.GenerateMock <IMessageLogger>();
     _messageLoggerProxy = ((MessageLoggerProxy)Defaults.Logger);
     _messageLoggerProxy.InternalLogger = _internalLogger;
 }
Exemplo n.º 2
0
 public DebugMessages(MessageLoggerProxy messageLogger)
 {
     _messageLogger = messageLogger;
     _originalVerbosity = _messageLogger.Verbosity;
     _messageLogger.Verbosity = VerbosityLevel.Full;
 }
Exemplo n.º 3
0
 public DebugMessages(MessageLoggerProxy messageLogger)
 {
     _messageLogger           = messageLogger;
     _originalVerbosity       = _messageLogger.Verbosity;
     _messageLogger.Verbosity = VerbosityLevel.Full;
 }
 public void Setup()
 {
     _internalLogger = MockRepository.GenerateMock<IMessageLogger>();
     _messageLoggerProxy = ((MessageLoggerProxy)Defaults.Logger);
     _messageLoggerProxy.InternalLogger = _internalLogger;
 }