clearResourceAccess();
try {
List<TestUser> users = createTestNodes(TestUser.class, 2);
TestUser user1 = (TestUser) users.get(0);
TestUser user2 = (TestUser) users.get(1);
PropertyMap props = new PropertyMap();
props.put(AbstractNode.visibleToPublicUsers, true);
// Create two nodes with user context, one of them is visible to public users