* instead of AccessControlException
*/
public void testCheckAddNodePermissionOnRoot() throws RepositoryException {
Session session = getHelper().getReadOnlySession();
try {
session.checkPermission("/", "add_node");
} catch (PathNotFoundException e) {
fail("JCR-1731: Session.checkPermission(\"/\", \"add_node\")"
+ " throws PathNotFoundException instead of"
+ " AccessControlException");
} catch (AccessControlException e) {