@Test
public void testLoadJar() {

    final CoreNlpModels jarModels = new CoreNlpModels(NER) {
        @Override
        String getPropertyName() { return null;}
        @Override
        protected Object loadModelFile(Language language) {
            return null;
        }
    };
    jarModels.addResourceToContextClassLoader(
            jarModels.getModelsBasePath(GERMAN).resolve(jarModels.getJarFileName(GERMAN)));
    assertThat(ClassLoader.getSystemClassLoader().
            getResource("StanfordCoreNLP-german.properties")).isNotNull();
}