for (PolicyType policyType : response) {
checkPolicyType(policyType);
}
if (response.size() > 0) {
PolicyType policyType = response.iterator().next();
Assert.assertEquals(api().getType(policyType.getName()), policyType);
}
if (response.size() > 0) {
Iterable<String> names = Iterables.transform(response, new Function<PolicyType, String>() {