super.tearDown();
}
public void testIsRecognizedFormat() throws IOException {
CopacImporter importer = new CopacImporter();
assertTrue(importer.isRecognizedFormat(CopacImporterTest.class
.getResourceAsStream("CopacImporterTest1.txt")));
assertTrue(importer.isRecognizedFormat(CopacImporterTest.class
.getResourceAsStream("CopacImporterTest2.txt")));
assertFalse(importer.isRecognizedFormat(CopacImporterTest.class
.getResourceAsStream("IsiImporterTest1.isi")));
assertFalse(importer.isRecognizedFormat(CopacImporterTest.class
.getResourceAsStream("IsiImporterTestINSPEC.isi")));
assertFalse(importer.isRecognizedFormat(CopacImporterTest.class
.getResourceAsStream("IsiImporterTestWOS.isi")));
assertFalse(importer.isRecognizedFormat(CopacImporterTest.class
.getResourceAsStream("IsiImporterTestMedline.isi")));
}