@Test(expected = StoreConnectionException.class)
public void testSaveBulkHBaseCloseException() throws Exception {

    List<Document> documents = new Vector<Document>();
    documents.add(new Document(UUID.randomUUID()
                                       .toString(), System.currentTimeMillis(),
                               mapper.valueToTree(Collections.singletonMap("TEST_NAME", "BULK_SAVE_TEST"))
    ));
    doThrow(new IOException()).when(tableInterface)
            .close();
    hbaseDataStore.saveAll(TEST_APP, documents);
}