public void Setup()
 {
     var authenticator = new Authenticator();
     authenticator.Authenticate("test");
     var serviceProvider = new GoogleDriveServiceProvider(authenticator);
     this.testee = new FolderSynchronizer(new FilesGetter(serviceProvider), new FileDownloader(serviceProvider));
 }
示例#2
0
        public void Setup()
        {
            var authenticator = new Authenticator();

            authenticator.Authenticate("test");
            var serviceProvider = new GoogleDriveServiceProvider(authenticator);

            this.testee = new FolderSynchronizer(new FilesGetter(serviceProvider), new FileDownloader(serviceProvider));
        }