assertEquals(0, root.children.size());
assertEquals(SecureTreeNode.EVERYBODY, root.getAuthorizedRoles(AccessMode.READ));
final Set<String> writeRoles = root.getAuthorizedRoles(AccessMode.WRITE);
assertEquals(1, writeRoles.size());
assertTrue(writeRoles.contains("WRITER"));
assertTrue(root.canAccess(anonymous, AccessMode.READ));
assertFalse(root.canAccess(anonymous, AccessMode.WRITE));
assertTrue(root.canAccess(roUser, AccessMode.READ));
assertFalse(root.canAccess(roUser, AccessMode.WRITE));
assertTrue(root.canAccess(rwUser, AccessMode.READ));
assertTrue(root.canAccess(rwUser, AccessMode.WRITE));