@Test
public void getGroupRolesTest() {

    Response response = target().path("groups/testGroup/roles").request().get();
    assertEquals(response.getStatus(), 200);
    try {
        JSONArray result = JSONArray.fromObject(response.readEntity(String.class));
        assertEquals(result.size(), roles.size());
    } catch (Exception e) {
        fail("Expected no exception, but got: " + e.getMessage());
    }
}