@Test
public void getGroupUsersTest() {

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