PolicyEntry element = (PolicyEntry)iter.next();
if (element.getPermissions()
.contains(new SecurityPermission("ZZZ"))) {
assertTrue(element.impliesCodeSource(new CodeSource(null,
(Certificate[])null)));
assertTrue(element.impliesPrincipals(null));
} else if (element.getPermissions()
.contains(new SecurityPermission("YYY"))) {
assertFalse(element.impliesCodeSource(null));
assertFalse(element.impliesPrincipals(null));
assertTrue(element.impliesCodeSource(new CodeSource(new URL(