Skip to content

Commit

Permalink
Update GenericAssayEnrichmentServiceImplTest.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Djokovic0311 committed Aug 11, 2023
1 parent 3c91d6c commit e1d28ea
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
@RunWith(MockitoJUnitRunner.class)
public class GenericAssayEnrichmentServiceImplTest extends BaseServiceImplTest{
@InjectMocks
private GenericAssayEnrichmentServiceImpl genericAssayEnrichmentServiceImpl;
private ExpressionEnrichmentServiceImpl expressionEnrichmentServiceImpl;
@Mock
private SampleService sampleService;
@Mock
Expand Down Expand Up @@ -164,7 +164,7 @@ public void getGenericAssayBinaryEnrichments() throws Exception {
.thenReturn(Arrays.asList(new GenericAssayMeta(HUGO_GENE_SYMBOL_1),
new GenericAssayMeta(HUGO_GENE_SYMBOL_2)));

List<GenericAssayBinaryEnrichment> result = genericAssayEnrichmentServiceImpl.getGenericAssayBinaryEnrichments(MOLECULAR_PROFILE_ID,
List<GenericAssayBinaryEnrichment> result = expressionEnrichmentServiceImpl.getGenericAssayBinaryEnrichments(MOLECULAR_PROFILE_ID,
molecularProfileCaseSets, EnrichmentType.SAMPLE);

Assert.assertEquals(2, result.size());
Expand Down Expand Up @@ -227,7 +227,7 @@ public void getGenericAssayCategoricalEnrichments() throws MolecularProfileNotFo
.thenReturn(Arrays.asList(new GenericAssayMeta(HUGO_GENE_SYMBOL_1),
new GenericAssayMeta(HUGO_GENE_SYMBOL_2)));

List<GenericAssayCategoricalEnrichment> result = genericAssayEnrichmentServiceImpl.getGenericAssayCategoricalEnrichments(MOLECULAR_PROFILE_ID,
List<GenericAssayCategoricalEnrichment> result = expressionEnrichmentServiceImpl.getGenericAssayCategoricalEnrichments(MOLECULAR_PROFILE_ID,
molecularProfileCaseSets, EnrichmentType.SAMPLE);

Assert.assertEquals(2, result.size());
Expand Down

0 comments on commit e1d28ea

Please sign in to comment.