Skip to content

Commit

Permalink
Rename test methods
Browse files Browse the repository at this point in the history
Signed-off-by: upendrakumbham <[email protected]>
  • Loading branch information
upendrakumbham committed Dec 6, 2024
1 parent 5686849 commit d1d487f
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ void returnEmptyCellTypeMarkerGeneProfileIfBothOntologyAndAuthorsLabelsDoesNotHa
}

@Test
void getMarkerGenesCountForTheInferredCelltypeOntologyLabels() {
void getMarkerGenesCountGreaterThanZero_IfTheMarkerGenesExistForTheInferredCellTypeOntologyLabels() {
when(markerGenesDaoMock.getMarkerGenesForTheInferredCellTypes("E-EHCA-2",
"inferred cell type - ontology labels"))
.thenReturn(1);
Expand All @@ -79,15 +79,16 @@ void getMarkerGenesCountForTheInferredCelltypeOntologyLabels() {
}

@Test
void getMarkerGenesCountForInferredCellTypeAuthorsLabels() {
void getMarkerGenesCountGreaterThanZero_IfTheMarkerGenesExistForTheInferredCellTypeAuthorsLabels() {
when(markerGenesDaoMock.getMarkerGenesForTheInferredCellTypes(
"E-EHCA-2",
"inferred cell type - authors labels"))
.thenReturn(1);

assertThat(subject.isMarkerGenesAvailableForTheInferredCellTypes(
"E-EHCA-2",
"inferred cell type - authors labels"))
.isGreaterThan(0);
.isEqualTo(1);
}

@Test
Expand Down

0 comments on commit d1d487f

Please sign in to comment.