SyncProcessManagerImpl implements SyncProcessManager { @Override public List<MonitoredFile> getMonitoredFiles() { SyncManager sm = this.syncManager; if (sm != null) { return sm.getFilesInTransfer(); } return new LinkedList<MonitoredFile>(); } @Autowired  SyncProcessManagerImpl(
        SyncConfigurationManager syncConfigurationManager,
        ContentStoreManagerFactory contentStoreManagerFactory,
        SyncOptimizeManager syncOptimizeManager); @PostConstruct void init(); @Override SyncProcessError getError(); @Override void clearError(); @Override void start(); @Override void resume(); @Override void stop(); @Override void pause(); @Override void restart(); @Override SyncProcessState getProcessState(); @Override SyncProcessStats getProcessStats(); @Override void addSyncStateChangeListener(SyncStateChangeListener syncStateChangeListener); @Override void removeSyncStateChangeListener(SyncStateChangeListener syncStateChangeListener); @Override List<MonitoredFile> getMonitoredFiles(); @Override List<SyncSummary> getFailures(); @Override List<SyncSummary> getRecentlyCompleted(); @Override List<File> getQueuedFiles(); @Override void clearFailures(); @PreDestroy void shutdown();  }
@Test public void testGetMonitoredFiles() { replay(); createTestSubject(); List<MonitoredFile> files = syncProcessManagerImpl.getMonitoredFiles(); assertNotNull(files); }