String srcPath = moveNode.getPath();
doMove(srcPath, destinationPath);
Node afterMoveNode = (Node) testRootNode.getSession().getItem(destinationPath);
try {
afterMoveNode.refresh(false);
fail("Node.refresh() on a transiently moved node should fail such as a 'save' would fail.");
} catch (RepositoryException e) {
// ok: works as expected. scope of 'refresh' is not complete
}
}