* otherwise tested set must contain all Principals of PolicyEntry.
*/
public void testImpliesPrincipals() {
PolicyEntry pe = new PolicyEntry(null, null, null);
Principal[] pp1 = new Principal[] {};
Principal[] pp2 = new Principal[] { new UnresolvedPrincipal("a.b.c",
"XXX") };
Principal[] pp3 = new Principal[] {
new UnresolvedPrincipal("a.b.c", "YYY"),
new UnresolvedPrincipal("a.b.c", "XXX"),
new UnresolvedPrincipal("e.f.g", "ZZZ") };
assertTrue(pe.impliesPrincipals(null));
assertTrue(pe.impliesPrincipals(pp1));
pe = new PolicyEntry(null, new HashSet(), null);