Class UserPermissionAdminResourceTest

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.atlassian.crowd.acceptance.tests.rest.service.RestCrowdServiceAcceptanceTestCase
com.atlassian.crowd.acceptance.tests.rest.service.UserPermissionAdminResourceTest
All Implemented Interfaces:
junit.framework.Test

public class UserPermissionAdminResourceTest extends RestCrowdServiceAcceptanceTestCase
This is primarily testing 2 things: 1. That the spring configuration is correctly intercepting methods with a permission check 2. That the data is being correctly marshalled to and from json

For a sanity check, it is also checking that you cant revoke your own rights.