use of org.mskcc.oncotree.crosswalk.MSKConceptCache in project oncotree by cBioPortal.
the class OncotreeTestConfig method mskConceptCache.
@Bean
public MSKConceptCache mskConceptCache() {
MSKConceptCache mskConceptCache = Mockito.mock(MSKConceptCache.class);
MSKConcept mskConcept = new MSKConcept();
mskConcept.setConceptIds(Arrays.asList("MSK00001", "MSK00002"));
Mockito.when(mskConceptCache.get(any(String.class))).thenReturn(mskConcept);
return mskConceptCache;
}
Aggregations