long node = inserter.createNode( properties );
persons.add( node, properties );
indexProvider.shutdown();
inserter.shutdown();
GraphDatabaseService graphDb = new EmbeddedGraphDatabase( path );
Transaction tx = graphDb.beginTx();
try
{
IndexManager indexManager = graphDb.index();
Assert.assertFalse( indexManager.existsForRelationships( indexName ) );
Assert.assertTrue( indexManager.existsForNodes( indexName ) );