@Test
public void testGetUserRoles() throws Exception {

  final String response = given().log().all().expect().statusCode(SC_OK).when().get(env.host("/info/me/roles"))
          .asString();
  JSONArray json = (JSONArray) parser.parse(response);
  assertTrue("User does not have role 'ROLE_USER_92623987_OPENCAST_ORG'",
          json.contains("ROLE_USER_92623987_OPENCAST_ORG"));
  assertTrue("User does not have role 'ROLE_STUDENT'", json.contains("ROLE_STUDENT"));
  assertEquals(2, json.size());
}