node.createRelationshipTo(newNode, withName("R6")).setProperty("new", true);
}
}
);
batchInserter = new TransactionSimulatingBatchInserterImpl(BatchInserters.inserter(temporaryFolder.getRoot().getAbsolutePath()));
Relationship newRelationship = getNodeById(1).getSingleRelationship(withName("R6"), OUTGOING);
assertNotNull(newRelationship);
assertEquals("Six", newRelationship.getEndNode().getProperty("name"));
assertEquals(true, newRelationship.getProperty("new"));