@Test @DisplayName("No perplexities in database") void noPerplexities() { when(tSnePlotDaoMock.fetchPerplexities(EXPERIMENT_ACCESSION)).thenReturn(Collections.emptyList()); assertThat(subject.getAvailablePerplexities(EXPERIMENT_ACCESSION)).isEmpty(); }
List<Integer> getAvailablePerplexities(String experimentAccession) { return tSnePlotDao.fetchPerplexities(experimentAccession); }
TsnePlotSettingsService { List<Integer> getAvailablePerplexities(String experimentAccession) { return tSnePlotDao.fetchPerplexities(experimentAccession); } }
TsnePlotSettingsService { List<Integer> getAvailablePerplexities(String experimentAccession) { return tSnePlotDao.fetchPerplexities(experimentAccession); } TsnePlotSettingsService(DataFileHub dataFileHub,
                                   IdfParser idfParser,
                                   TSnePlotDao tSnePlotDao,
                                   MarkerGenesDao markerGenesDao); }
TsnePlotSettingsService { List<Integer> getAvailablePerplexities(String experimentAccession) { return tSnePlotDao.fetchPerplexities(experimentAccession); } TsnePlotSettingsService(DataFileHub dataFileHub,
                                   IdfParser idfParser,
                                   TSnePlotDao tSnePlotDao,
                                   MarkerGenesDao markerGenesDao); Optional<Integer> getExpectedClusters(String experimentAccession); }
TsnePlotSettingsService { List<Integer> getAvailablePerplexities(String experimentAccession) { return tSnePlotDao.fetchPerplexities(experimentAccession); } TsnePlotSettingsService(DataFileHub dataFileHub,
                                   IdfParser idfParser,
                                   TSnePlotDao tSnePlotDao,
                                   MarkerGenesDao markerGenesDao); Optional<Integer> getExpectedClusters(String experimentAccession);  }