ZippedGenericFileData extends GenericFileData { public ZippedGenericFileData(InputStream stream, String mimeType) { super(stream, mimeType); } ZippedGenericFileData(InputStream stream, String mimeType); @Override String writeData(File workspaceDir);  }
@Test public void testZippedGenericFileData() { ZippedGenericFileData test = new ZippedGenericFileData(fis, "application/x-zipped-shp"); test.writeData(tempArea); assertFalse(FileUtils.listFiles(tempArea, null, true).isEmpty()); assertTrue(FileUtils.listFiles(tempArea, null, true).size() == 6); }