TikaResourceHelper { final static URL getCoreUrl() { final ClassLoader cl = MimeTypes.class.getClassLoader(); return cl.getResource(CLASS_PREFIX + TIKA_MIMETYPES); } private  TikaResourceHelper();  final static String TIKA_MIMETYPES; final static String CUSTOM_MIMETYPES; }
@SuppressWarnings("javadoc") @Test public final void testGetCoreUrl() { URL coreUrl = TikaResourceHelper.getCoreUrl(); assertTrue("expecting tika mime types NOT:" + coreUrl, coreUrl .getPath().contains(TikaResourceHelper.TIKA_MIMETYPES)); }