public ISyncer GetSyncer() { var fileSource = new DropboxRestAPIFileProvider(dropboxOAuthIAccessTokenProvider); var fileDestination = new ExactDocumentStore(exactWebsite, exactOnlineOAuthIAccessTokenProvider); var syncer = new DropboxToExactSyncer(fileSource, fileDestination, syncInfoRepository); return(syncer); }
private ExactDocumentStore GetExactDocumentStore() { var documentService = documentServiceMock.Object; var client = clientMock.Object; var documentAttachmentService = documentAttachmentServiceMock.Object; var documentCategoryService = documentCategoryServiceMock.Object; var exactStore = new ExactDocumentStore(client, documentService, documentAttachmentService, documentCategoryService); return(exactStore); }