public void testGetPermission() {
UserEntity developer = addUser("alex","kinyelo@gmail.com", UserRole.USER);
UserEntity admin = addUser("admin","admin@gmail.com", UserRole.ADMIN);
UserEntity manager = addUser("test1","test1@gmail.com", UserRole.USER);
UserEntity dev2 = addUser("test2","test2@gmail.com", UserRole.USER);
GroupEntity guests = addGroup("guests");
GroupEntity managers = addGroup("managers");
GroupEntity developers = addGroup("developers");
addUserGroup(developer, developers);
addUserGroup(manager, managers);
addUserGroup(dev2, developers);
addUserGroup(dev2, managers);
FolderEntity home = addFolder("home", null);