xpathCases.put("/jcr:root/" + testLocalRootName + "/ element(*, nt:base)", expected.toArray(new String[expected
.size()]));
xpathCases.put("//element(*,nt:file)[fn:name() = 'exoString']", new String[]{"exoString"});
assertQuery(xpathCases, Query.XPATH);
conn.removeNode(testLocalRootName);
}
/**
* Test, searching over the repository nodes with concrete value of concrete property.
* jcr:mimeType is used for querying purposes.