コード例 #1
0
 public GoogleDriveImport(
     IDriveServiceFacade drive,
     ISourceContext context,
     ISourcesPersistence persistence,
     IPdfService pdfService)
 {
     this.drive       = drive;
     this.context     = context;
     this.persistence = persistence;
     this.pdfService  = pdfService;
 }
コード例 #2
0
        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);
        }