@Test
public void testSaveSingleNullData() throws Exception {

    Document document = new Document(UUID.randomUUID().toString(), System.currentTimeMillis(), null);
    try {
        HBaseDataStore.save(TEST_APP, document);
        fail();
    } catch (DataStoreException ex) {
        assertEquals(DataStoreException.ErrorCode.STORE_INVALID_REQUEST, ex.getErrorCode());
    }
}