* Stores a {@link javax.jcr.query.Query.XPATH} query at:
* <code>testRoot + "/" + nodeName1</code>.
*/
public void testSave() throws RepositoryException {
Query query = superuser.getWorkspace().getQueryManager().createQuery(statement, Query.XPATH);
query.storeAsNode(testRoot + "/" + nodeName1);
assertTrue("Node has not been stored", testRootNode.hasNode(nodeName1));
Node queryNode = testRootNode.getNode(nodeName1);
assertTrue("Query node is not of type nt:query", queryNode.isNodeType(ntQuery));