node1.setProperty("jcr:prop", "property and node");
node2.setProperty("jcr:prop", "property and node");
exoTrash.setProperty("jcr:prop", "property and node");
exoTrash2.setProperty("jcr:prop", "property and node");
session.save();
QueryManager qman = session.getWorkspace().getQueryManager();
Query q = qman.createQuery("SELECT * FROM nt:base WHERE jcr:path LIKE '/testRoot/%'", Query.SQL);
assertEquals(5, q.execute().getNodes().getSize());