public UpgradeDeliverableTests() { writer = new MockTextWriter(); settings = Substitute.For <IChauffeurSettings>(); xmlDocumentWrapper = Substitute.For <IXmlDocumentWrapper>(); migrationRunnerService = Substitute.For <IMigrationRunnerService>(); }
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; }