JannovarFactoryConfig { @Bean JannovarDataFactory jannovarDataFactory() { Path jannovarIniFilePath = getPathForProperty("jannovar.ini-file"); return JannovarDataFactory.builder(jannovarIniFilePath).build(); } @Autowired  JannovarFactoryConfig(Environment environment);   }
@Test void jannovarDataFactory() { JannovarDataFactory jannovarDataFactory = instance.jannovarDataFactory(); assertThat(jannovarDataFactory, instanceOf(JannovarDataFactory.class)); }