Exemplo n.º 1
0
 // TODO remove once reference node is gone
 @Test
 public void shouldBeAbleToGetReferenceNode() throws Exception {
   NodeRepresentation rep = actions.getReferenceNode();
   actions.getNode(rep.getId());
 }
Exemplo n.º 2
0
 @Test
 public void nodeInDatabaseShouldBeRetreivable() throws NodeNotFoundException {
   long nodeId = new GraphDbHelper(database).createNode();
   assertNotNull(actions.getNode(nodeId));
 }