Inheritance: IMessageLogger
 public void Setup()
 {
     _internalLogger     = MockRepository.GenerateMock <IMessageLogger>();
     _messageLoggerProxy = ((MessageLoggerProxy)Defaults.Logger);
     _messageLoggerProxy.InternalLogger = _internalLogger;
 }
示例#2
0
 public DebugMessages(MessageLoggerProxy messageLogger)
 {
     _messageLogger = messageLogger;
     _originalVerbosity = _messageLogger.Verbosity;
     _messageLogger.Verbosity = VerbosityLevel.Full;
 }
 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;
 }