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