use of org.apache.hadoop.hbase.rest.client.Response in project hbase by apache.
the class TestTableResource method testTableListJSON.
@Test
public void testTableListJSON() throws IOException {
Response response = client.get("/", Constants.MIMETYPE_JSON);
assertEquals(response.getCode(), 200);
assertEquals(Constants.MIMETYPE_JSON, response.getHeader("content-type"));
}
Aggregations