@Test
public void testGetUserInfo() throws Exception {

  final String response = given().log().all().expect().statusCode(SC_OK).when().get(env.host("/info/me")).asString();
  JSONObject json = (JSONObject) parser.parse(response);
  assertEquals("nowhere@opencast.org", json.get("email"));
  assertEquals("Opencast Student", json.get("name"));
  assertEquals("opencast", json.get("provider"));
  assertEquals("ROLE_USER_92623987_OPENCAST_ORG", json.get("userrole"));
  assertEquals("92623987@opencast.org", json.get("username"));
}