Map<String,String> config = new HashMap<String,String>();
config.put( "relationship_grab_size", "1" );
String storePath = getStorePath( "neo2" );
deleteFileOrDirectory( storePath );
EmbeddedGraphDatabase graphDb = new EmbeddedGraphDatabase( storePath, config );
Transaction tx = graphDb.beginTx();
Node node1 = graphDb.createNode();
Node node2 = graphDb.createNode();
node1.createRelationshipTo( node2, MyRelTypes.TEST );
node2.createRelationshipTo( node1, MyRelTypes.TEST2 );
node1.createRelationshipTo( node2, MyRelTypes.TEST_TRAVERSAL );