### Question:
ZipXmiCollectionReader extends AbstractFileReader { @Override public void getNext(JCas jCas) throws IOException, CollectionException { File currentZipFile = fileIterator.next(); deserialize(currentZipFile, jCas, xmlScheme); }  @Override void initialize(UimaContext context); @Override void getNext(JCas jCas); static void deserialize(File currentZipFile, JCas jCas,
            String _xmlScheme); static final String XMI; static final String XCAS; static final String PARAM_XML_SCHEME; }### Answer:
@Test public void testSerializeDeserializeXmi() throws Exception { CollectionReader cr = createReader(TextArrayReader.class, PARAM_INPUT, new String[] { "this is a test" }); AnalysisEngine serializer = createEngine(ZipXWriter.class, BlueUima.PARAM_OUTPUT_DIR, testDir + "/serdeser"); SimplePipeline.runPipeline(cr, serializer); cr = createReader(ZipXmiCollectionReader.class, PARAM_INPUT_DIRECTORY, testDir + "/serdeser"); CAS cas = createCas(cr.getProcessingResourceMetaData()); cr.getNext(cas); assertEquals("this is a test", cas.getDocumentText()); }