public GoogleDriveImport( IDriveServiceFacade drive, ISourceContext context, ISourcesPersistence persistence, IPdfService pdfService) { this.drive = drive; this.context = context; this.persistence = persistence; this.pdfService = pdfService; }
public GoogleDriveImportTests() { this.context = Substitute.For <ISourceContext>(); this.drive = Substitute.For <IDriveServiceFacade>(); this.pdfService = Substitute.For <IPdfService>(); this.persistence = Substitute.For <ISourcesPersistence>(); this.sut = new GoogleDriveImport( this.drive, this.context, this.persistence, this.pdfService); }