PriorityFactoryImpl implements PriorityFactory { @Override public HiPhivePriority makeHiPhivePrioritiser(HiPhiveOptions hiPhiveOptions) { return new HiPhivePriority(hiPhiveOptions, randomWalkMatrix, priorityService); } @Autowired  PriorityFactoryImpl(PriorityService priorityService, DataMatrix randomWalkMatrix, Path phenixDataDirectory); @Override OmimPriority makeOmimPrioritiser(); @Override PhenixPriority makePhenixPrioritiser(); @Override PhivePriority makePhivePrioritiser(); @Override ExomeWalkerPriority makeExomeWalkerPrioritiser(List<Integer> entrezSeedGenes); @Override HiPhivePriority makeHiPhivePrioritiser(HiPhiveOptions hiPhiveOptions);  }
@Test public void testmakePrioritiserForHiPhivePriority() { assertThat(instance.makeHiPhivePrioritiser(HiPhiveOptions.defaults()), instanceOf(HiPhivePriority.class)); }
@Test public void testmakeHiPhivePrioritiserWithDiseaseIdAndEmptyHpoList() { HiPhiveOptions hiPhiveOptions = HiPhiveOptions.builder() .diseaseId("OMIM:101600") .build(); assertThat(instance.makeHiPhivePrioritiser(hiPhiveOptions), instanceOf(HiPhivePriority.class)); }