PriorityFactoryImpl implements PriorityFactory { @Override public PhenixPriority makePhenixPrioritiser() { boolean symmetric = false; return new PhenixPriority(phenixDataDirectory.toString(), symmetric); } @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 testmakePrioritiserForPhenixPriorityThrowsRuntimeExceptionDueToMissingPhenixData() { assertThrows(NullPointerException.class, () -> instance.makePhenixPrioritiser()); }