public void testAddRecordNoIndex()
throws IOException, RepositoryIndexException
{
Artifact artifact = createArtifact( "test-jar" );
RepositoryIndexRecord record = recordFactory.createRecord( artifact );
index.indexRecords( Collections.singletonList( record ) );
IndexReader reader = IndexReader.open( indexLocation );
try
{