Package org.jtalks.jcommune.model.dto

Examples of org.jtalks.jcommune.model.dto.GroupsPermissions


    }

    @Test
    public void testGetPermissionsMapFor() {
        Component component = mock(Component.class);
        doReturn(new GroupsPermissions()).when(permissionManager).getPermissionsMapFor(component);
        assertNotNull(permissionService.getPermissionsMapFor(component));
    }
View Full Code Here


    }

    @Test
    public void testGetPersonalPermissions() {
        List<Group> groups = mock(List.class);
        doReturn(new GroupsPermissions()).when(permissionManager).getPermissionsMapFor(groups);
        assertNotNull(permissionService.getPersonalPermissions(groups));
    }
View Full Code Here

TOP

Related Classes of org.jtalks.jcommune.model.dto.GroupsPermissions

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.