use of io.mantisrx.shaded.com.fasterxml.jackson.databind.JsonNode in project mantis by Netflix.
the class JobClustersRouteTest method compareClustersPayload.
private void compareClustersPayload(String clusterListResponse) {
try {
ObjectMapper mapper = new ObjectMapper();
JsonNode responseObj = mapper.readTree(clusterListResponse);
assert (responseObj.get("list") != null);
assert (responseObj.get("prev") != null);
assert (responseObj.get("next") != null);
compareClusterInstancePayload(responseObj.get("list").get(0).toString());
} catch (IOException ex) {
assert ex == null;
}
}
Aggregations