@Test public void getAllDatasourceDetailsTest() throws Exception { when(datasourceRepository.findAll()).thenReturn(new ArrayList<>()); assertThat(datasourceService.getAllDatasourceDetails().size(), is(0)); }
@Override public List<Datasource> getAllDatasourceDetails() { return datasourceRepository.findAll(); }
DatasourceServiceImpl implements DatasourceService, Constants { @Override public List<Datasource> getAllDatasourceDetails() { return datasourceRepository.findAll(); } }
DatasourceServiceImpl implements DatasourceService, Constants { @Override public List<Datasource> getAllDatasourceDetails() { return datasourceRepository.findAll(); }  }
DatasourceServiceImpl implements DatasourceService, Constants { @Override public List<Datasource> getAllDatasourceDetails() { return datasourceRepository.findAll(); }  @Override List<Datasource> getAllDatasourceDetails(); }
DatasourceServiceImpl implements DatasourceService, Constants { @Override public List<Datasource> getAllDatasourceDetails() { return datasourceRepository.findAll(); }  @Override List<Datasource> getAllDatasourceDetails();  }