assertEquals( "Results count", expectedKeys.length, actualResults.size() );
for ( int i = 0; i < expectedKeys.length; i++ )
{
String key = expectedKeys[i];
LuceneRepositoryContentRecord record = (LuceneRepositoryContentRecord) records.get( key );
if ( record == null )
{
dumpResults( actualResults );
fail( "Expected record <" + key