LOG.debug("/register response:" + new String(respBytes));
}
ByteArrayInputStream in = new ByteArrayInputStream(respBytes);
ObjectMapper objMapper = new ObjectMapper();
List<RegisterResponseEntry> res =
objMapper.readValue(in, new TypeReference<List<RegisterResponseEntry>>(){});
assertNotNull("no result", res);
assertEquals("expected one source", 1, res.size());
assertEquals("expected correct source id", 3002, res.get(0).getId());
Schema resSchema = Schema.parse(res.get(0).getSchema());
assertEquals("expected correct source schema", "test3.source2_v1", resSchema.getFullName());