TrackerImpl implements Tracker { @Override public List<String> getTrackerOperationSources() { List<String> sources = new ArrayList<>(); try { sources = dataService.getTrackerOperationSources(); } catch ( SQLException e ) { LOG.error( "Error in getTrackerOperationSources", e ); } return sources; }  @Override TrackerOperationView getTrackerOperation( String source, UUID operationTrackId ); @Override TrackerOperation createTrackerOperation( String source, String description ); @Override List<TrackerOperationView> getTrackerOperations( String source, Date fromDate, Date toDate, int limit ); @Override List<String> getTrackerOperationSources(); @Override void printOperationLog( String source, UUID operationTrackId, long maxOperationDurationMs ); @Override void setOperationViewState( String source, UUID operationId, boolean display ); @Override void setOperationsViewStates( boolean display ); @Override List<TrackerOperationView> getNotifications(); void init(); void dispose(); void setDaoManager( final DaoManager daoManager ); void setIdentityManager( final IdentityManager identityManager );  }
@Test public void testGetTrackerOperationSources() throws Exception { tracker.getTrackerOperationSources(); verify( dataService ).getTrackerOperationSources(); }