* @throws java.lang.Exception
*/
@Before
public void setUp() throws Exception {
final String filename1 = "Book1.xls";
final InputStream is1 = new ClassLocator().getResourceAsStream(filename1);
_workbook1 = new ExcelImporter().imports(is1, filename1);
assertTrue(_workbook1 instanceof Book);
assertTrue(_workbook1 instanceof HSSFBookImpl);
assertTrue(_workbook1 instanceof HSSFWorkbook);
assertEquals(filename1, ((Book)_workbook1).getBookName());
assertEquals("Sheet 1", _workbook1.getSheetName(0));
assertEquals("Sheet2", _workbook1.getSheetName(1));
assertEquals("Sheet3", _workbook1.getSheetName(2));
assertEquals(0, _workbook1.getSheetIndex("Sheet 1"));
assertEquals(1, _workbook1.getSheetIndex("Sheet2"));
assertEquals(2, _workbook1.getSheetIndex("Sheet3"));
final String filename2 = "Book1.xlsx";
final InputStream is2 = new ClassLocator().getResourceAsStream(filename2);
_workbook2 = new ExcelImporter().imports(is2, filename2);
assertTrue(_workbook2 instanceof Book);
assertTrue(_workbook2 instanceof XSSFBookImpl);
assertTrue(_workbook2 instanceof XSSFWorkbook);
assertEquals(filename2, ((Book)_workbook2).getBookName());