GovDocs { static boolean isZip(final File root) { return FileUtils.listFiles(root, new String[] { GovDocsZipped.ZIP_EXT }, false).size() > 0; } private  GovDocs(); static final GovDocsCorpora newInstance(final File root);  }
@SuppressWarnings("javadoc") @Test public final void testIsZip() throws URISyntaxException { assertTrue("GovDocsZipped.isZip() != true for zip test directory??", GovDocs.isZip(AllFidgetTests.getGovDocsZip())); assertFalse("GovDocsZipped.isZip() == true for dir based test directory??", GovDocs.isZip(AllFidgetTests.getGovDocsDir())); }