node.addNode("source").addNode("node");
node.addNode("target");
session.save();
Node sourceNode = session.getNode(TEST_PATH + "/source/node");
session.move(TEST_PATH + "/source/node", TEST_PATH + "/target/moved");
assertEquals("/test_node/target/moved", sourceNode.getPath());
assertFalse(node.hasNode("source/node"));
assertTrue(node.hasNode("source"));
assertTrue(node.hasNode("target/moved"));