@Test
public void testSizeLimit() {

	Exception ex = null;
	try {
		WorkbookFile workbook = new WorkbookFile(getResourceFile("Excel1.xlsx"), 1, false);
		workbook.close();
	} catch (Exception e) {
		ex = e;
	}
	
	Assert.assertTrue(ex!=null && "The size of the workbook 'Excel1.xlsx' exceeds the max size 1bytes.".equals(ex.getMessage()));
}