TikaResourceHelper { final static List<URL> getVanillaUrls() throws IOException { final List<URL> tikaFirstUrls = new ArrayList<URL>(); tikaFirstUrls.add(getCoreUrl()); tikaFirstUrls.addAll(getCustomUrls()); return tikaFirstUrls; } private  TikaResourceHelper();  final static String TIKA_MIMETYPES; final static String CUSTOM_MIMETYPES; }
@SuppressWarnings("javadoc") @Test public final void testGetVanillaUrls() throws IOException { List<URL> vanillaUrls = TikaResourceHelper.getVanillaUrls(); assertTrue("", vanillaUrls.size() == 2); assertTrue("expecting core mime types NOT:" + vanillaUrls.get(0), vanillaUrls.get(0) .getPath().contains(TikaResourceHelper.TIKA_MIMETYPES)); assertTrue("expecting custom mime types NOT:" + vanillaUrls.get(1), vanillaUrls.get(1) .getPath().contains(TikaResourceHelper.CUSTOM_MIMETYPES)); }