(Certificate[])null);
ProtectionDomain pd1 = new ProtectionDomain(cs, null);
ProtectionDomain pd2 = new ProtectionDomain(cs2, pcZ, null,
new Principal[] { new FakePrincipal("qqq") });
PolicyEntry pe1 = new PolicyEntry(cs, null, Arrays
.asList(new Permission[] { sp1 }));
PolicyEntry pe2 = new PolicyEntry(cs2, Arrays
.asList(new Principal[] { new UnresolvedPrincipal(
UnresolvedPrincipal.WILDCARD, UnresolvedPrincipal.WILDCARD) }),
Arrays.asList(new Permission[] { sp2 }));
PolicyEntry pe3 = new PolicyEntry(cs, Arrays
.asList(new Principal[] { new UnresolvedPrincipal(
FakePrincipal.class.getName(), "qqq") }), Arrays
.asList(new Permission[] { sp3 }));
PolicyEntry pe4 = new PolicyEntry(cs2, Arrays
.asList(new Principal[] { new UnresolvedPrincipal(
FakePrincipal.class.getName(), "ttt") }), Arrays
.asList(new Permission[] { sp4 }));
PolicyEntry[] peArray = new PolicyEntry[] {
pe1, pe2, pe3, pe4 };