checkAllRRs(zone.getId());
}
}
private void checkAllRRs(String zoneId) {
HostedZone zone = api.getHostedZoneApi().get(zoneId).getZone();
List<ResourceRecordSet> records = api(zone.getId()).list().concat().toList();
assertEquals(zone.getResourceRecordSetCount(), records.size());
for (ResourceRecordSet rrs : records) {
recordTypeCounts.getUnchecked(rrs.getType()).addAndGet(
rrs.getAliasTarget().isPresent() ? 1 : rrs.getValues().size());
checkRRS(rrs);