@Test
public void testSaveBulkInvalidTable() throws Exception {

    List<Document> documents = new Vector<Document>();
    for (int i = 0; i < 10; i++) {
        documents.add(new Document(UUID.randomUUID().toString(),
                System.currentTimeMillis(),
                mapper.valueToTree(Collections.singletonMap("TEST_NAME", "SINGLE_SAVE_TEST"))));
    }
    try {
        queryStore.save(TestUtils.TEST_TABLE + "-missing", documents);
        fail();
    } catch (QueryStoreException qse) {
        assertEquals(QueryStoreException.ErrorCode.NO_SUCH_TABLE, qse.getErrorCode());
    }
}