@Test
public void testAdd_NormalCase() throws SolrServerException, IOException {

    SolrInputDocument inputDocA = mock(SolrInputDocument.class);
    SolrInputDocument inputDocB = mock(SolrInputDocument.class);
    Map<String, SolrInputDocument> toAdd = ImmutableSortedMap.of("idA", inputDocA, "idB", inputDocB);
    solrWriter.add(-1, toAdd);
    
    verify(solrServer).add(toAdd.values());
}