for (SubnetGroup subnetGroup : response) {
checkSubnetGroup(subnetGroup);
}
if (Iterables.size(response) > 0) {
SubnetGroup subnetGroup = response.iterator().next();
Assert.assertEquals(api().get(subnetGroup.getName()), subnetGroup);
}
// Test with a Marker, even if it's null
response = api().list(ListSubnetGroupsOptions.Builder.afterMarker(response.nextMarker().orNull()));
for (SubnetGroup subnetGroup : response) {