public static void assertVocabulary(Analyzer a,Path zipFile,String voc,String out) throws IOException {
  Path tmp=LuceneTestCase.createTempDir();
  try (InputStream in=Files.newInputStream(zipFile)){
    TestUtil.unzip(in,tmp);
  }
   try (InputStream v=Files.newInputStream(tmp.resolve(voc));InputStream o=Files.newInputStream(tmp.resolve(out))){
    assertVocabulary(a,v,o);
  }
 }

public static void assertVocabulary ( Analyzer a , Path zipFile , String voc , String out ) throws IOException { Path tmp = LuceneTestCase . createTempDir ( ) ; try ( InputStream in = Files . newInputStream ( zipFile ) ) { TestUtil . unzip ( in , tmp ) ; } try ( InputStream v = Files . newInputStream ( tmp . resolve ( voc ) ) ; InputStream o = Files . newInputStream ( tmp . resolve ( out ) ) ) { assertVocabulary ( a , v , o ) ; } }
run a vocabulary test against two data files inside a zip file
