@Test
public void getClassDetailsTest() {

    Response response = target().path("explorable-datasets/" + encode(RECORD_ID_STR) + "/class-details").request()
            .get();
    assertEquals(response.getStatus(), 200);
    JSONArray responseArray = JSONArray.fromObject(response.readEntity(String.class));
    assertEquals(responseArray.size(), 2);
}