@Test
public void testArchiveDetection() {

	String parentPath = TestFiles.archive_detection.getPath();
	String[] candidateNames = {
		"real-zip.zip",
		"fake-zip-is-file.zip",
		"fake-zip-is-directory.zip",
		"nested-test.zip/real-zip.zip",
		"nested-test.zip/fake-zip-is-file.zip",
		"nested-test.zip/fake-zip-is-directory.zip"
	};
	boolean[] expectedOutputs = {
		true, false, false,
		true, false, false
	};
	assertTrue(candidateNames.length == expectedOutputs.length);
	for (int i = 0; i < candidateNames.length; i++) {
		String fullPath = parentPath + "/" + candidateNames[i];
		TFile file = new TFile(fullPath);
		assertTrue(file.exists());
		boolean actualOutput = UtilModel.isZipArchive(file);
		assertEquals(expectedOutputs[i], actualOutput);
	}
}