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