@Test public void testGetStudyDirRoot() throws Exception { studyFileService.setStudyDirRoot(testFolder.newFolder("test")); assertThat(studyFileService.getStudyDirRoot()).hasName("test"); }
public File getStudyDirRoot() { return studyDirRoot; }
StudyFileService { public File getStudyDirRoot() { return studyDirRoot; } }
StudyFileService { public File getStudyDirRoot() { return studyDirRoot; } @Autowired  StudyFileService(@Qualifier("studyTrackingOperationServiceImpl") TrackingOperationService trackingOperationService,
                            StudyRepository studyRepository); }
StudyFileService { public File getStudyDirRoot() { return studyDirRoot; } @Autowired  StudyFileService(@Qualifier("studyTrackingOperationServiceImpl") TrackingOperationService trackingOperationService,
                            StudyRepository studyRepository); synchronized void createStudyDir(Long studyId); List<StudyFileSummary> getStudyFiles(Long studyId); synchronized void upload(MultipartFile fileFromUpload, Long studyId); void createFileUploadEvent(Long studyId, SecureUser user); @Async void deleteFile(Long studyId, String fileName); File getFileFromFileName(Long studyId, String fileName); File getStudyDirRoot(); void setStudyDirRoot(File studyDirRoot); }
StudyFileService { public File getStudyDirRoot() { return studyDirRoot; } @Autowired  StudyFileService(@Qualifier("studyTrackingOperationServiceImpl") TrackingOperationService trackingOperationService,
                            StudyRepository studyRepository); synchronized void createStudyDir(Long studyId); List<StudyFileSummary> getStudyFiles(Long studyId); synchronized void upload(MultipartFile fileFromUpload, Long studyId); void createFileUploadEvent(Long studyId, SecureUser user); @Async void deleteFile(Long studyId, String fileName); File getFileFromFileName(Long studyId, String fileName); File getStudyDirRoot(); void setStudyDirRoot(File studyDirRoot);  }