Exemplo n.º 1
0
 void CreateLogger()
 {
     fakePackage     = MockRepository.GenerateStub <IPackage>();
     fakeLogger      = MockRepository.GenerateStub <ILogger>();
     operationLogger = new PackageViewModelOperationLogger(fakeLogger, fakePackage);
 }
Exemplo n.º 2
0
 protected override PackageViewModelOperationLogger CreateLogger(ILogger logger)
 {
     OperationLoggerCreated = base.CreateLogger(logger);
     return(OperationLoggerCreated);
 }