@Test
public void testAdd_NoFields() {

    RowAndFamilyAddingSolrUpdateWriter updateWriter = new RowAndFamilyAddingSolrUpdateWriter(null, null,
            uniqueKeyFormatter, keyValue, delegateWriter);
    updateWriter.add(solrDocument);
    verify(solrDocument, never()).addField(anyString(), any());
    verify(delegateWriter).add(solrDocument);
}