@Test
public void testSaveBulkNullDocuments() throws Exception {

    List<Document> documents = new Vector<Document>();
    for (int i = 0; i < 10; i++) {
        documents.add(null);
    }
    try {
        HBaseDataStore.save(TEST_APP, documents);
        fail();
    } catch (DataStoreException ex) {
        assertEquals(DataStoreException.ErrorCode.STORE_INVALID_REQUEST, ex.getErrorCode());
    }
}