public void testReadOnlyOperationsAndNoTransaction()
{
GraphDatabaseService db = new EmbeddedGraphDatabase( PATH );
Transaction tx = db.beginTx();
Node node1 = db.createNode();
Node node2 = db.createNode();
Relationship rel = node1.createRelationshipTo( node2, withName( "TEST" ) );
node1.setProperty( "key1", "value1" );
rel.setProperty( "key1", "value1" );
tx.success();