catch ( Exception e )
{
fail( e.getMessage() );
}
SearchResponse searchResponse = ( SearchResponse )
parser.getBatchResponse().getCurrentResponse().getDecorated();
assertEquals( 1, searchResponse.getSearchResultEntryList().size() );
assertEquals( 1, searchResponse.getSearchResultReferenceList().size() );
assertNotNull( searchResponse.getSearchResultDone() );
}