private void assertUpdate(final SolrInputDocument[] knownDocs,final int[] docIds) throws IOException, SolrServerException {
  for (  final int docId : docIds) {
    knownDocs[docId]=addRandomDocument(docId);
  }
}

private void assertUpdate ( final SolrInputDocument [ ] knownDocs , final int [ ] docIds ) throws IOException , SolrServerException { for ( final int docId : docIds ) { knownDocs [ docId ] = addRandomDocument ( docId ) ; } }
does some random indexing of the specified docids and adds them to knowndocs
