Beispiel #1
0
 public UpgradeDeliverableTests()
 {
     writer                 = new MockTextWriter();
     settings               = Substitute.For <IChauffeurSettings>();
     xmlDocumentWrapper     = Substitute.For <IXmlDocumentWrapper>();
     migrationRunnerService = Substitute.For <IMigrationRunnerService>();
 }
Beispiel #2
0
 public UpgradeDeliverable(
     TextReader reader,
     TextWriter writer,
     IMigrationRunnerService migrationRunner,
     IMigrationEntryService migrationEntryService,
     IChauffeurSettings chauffeurSettings,
     IXmlDocumentWrapper xmlDocumentWrapper
     )
     : base(reader, writer)
 {
     this.migrationRunner       = migrationRunner;
     this.migrationEntryService = migrationEntryService;
     this.chauffeurSettings     = chauffeurSettings;
     this.xmlDocumentWrapper    = xmlDocumentWrapper;
 }