@Test
public void testAdd_AddId() {

    IdAddingSolrUpdateWriter updateWriter = new IdAddingSolrUpdateWriter(UNIQUE_KEY_FIELD, DOCUMENT_ID,
            null, TABLE_NAME, updateCollector);
    updateWriter.add(solrDoc);
    verify(solrDoc).addField(UNIQUE_KEY_FIELD, DOCUMENT_ID);
    verify(updateCollector).add(DOCUMENT_ID, solrDoc);
}