in src/main/java/org/apache/sling/testing/mock/jcr/MockUserManager.java [123:132]
boolean removeAuthorizable(Authorizable a) throws RepositoryException {
boolean removed = authorizables.remove(a.getID(), a);
if (removed) {
@NotNull String path = a.getPath();
if (session.nodeExists(path)) {
session.getNode(path).remove();
}
}
return removed;
}