@Test
public void shouldBeAbleToCreateMetadataForExcel() throws Exception {

    InputStream inputStream = getClass().getClassLoader().getResourceAsStream("excel.xls");
    ExcelMetadata excelMetadata = ExcelMetadataReader.instance(inputStream);
    ExcelSheetMetadata sheet2 = excelMetadata.getSheet("MySheet2");
    assertThat(sheet2, is(notNullValue()));
    assertThat(excelMetadata.getSheet("Sheet1").getText().startsWith("This is a text"), is(true));
}