@Test
public void testSaveSingleHBaseCloseException() throws Exception {

    Document document = new Document(UUID.randomUUID().toString(),
            System.currentTimeMillis(),
            mapper.valueToTree(Collections.singletonMap("TEST_NAME", "SINGLE_SAVE_TEST")));
    doThrow(new IOException())
            .when(tableInterface)
            .close();
    HBaseDataStore.save(TEST_APP, document);
    verify(tableInterface, times(1)).close();
}