@Test
public void testImportsFromXlsxInputStream() {
final String filename = "Book1.xlsx";
final InputStream is = new ClassLocator().getResourceAsStream(filename);
Workbook wb = new ExcelImporter().imports(is, filename);
assertTrue(wb instanceof Book);
assertTrue(wb instanceof XSSFBookImpl);
assertTrue(wb instanceof XSSFWorkbook);
assertEquals(filename, ((Book)wb).getBookName());
assertEquals("Sheet 1", wb.getSheetName(0));
assertEquals("Sheet2", wb.getSheetName(1));
assertEquals("Sheet3", wb.getSheetName(2));
assertEquals(0, wb.getSheetIndex("Sheet 1"));
assertEquals(1, wb.getSheetIndex("Sheet2"));
assertEquals(2, wb.getSheetIndex("Sheet3"));
}