assertTrue(pc instanceof NestedPrimitiveAssertion);
NestedPrimitiveAssertion npc = (NestedPrimitiveAssertion)pc;
assertEquals(TEST_NAME1, npc.getName());
Policy nested = npc.getPolicy();
assertEquals(2, nested.getPolicyComponents().size());
PolicyAssertion a1 =
(PolicyAssertion)(nested.getPolicyComponents().get(0));
assertTrue(a1 instanceof PrimitiveAssertion);
assertTrue(TEST_NAME2.equals(a1.getName()) || TEST_NAME3.equals(a1.getName()));
PolicyAssertion a2 =
(PolicyAssertion)(nested.getPolicyComponents().get(0));
assertTrue(a2 instanceof PrimitiveAssertion);
assertTrue(TEST_NAME2.equals(a2.getName()) || TEST_NAME3.equals(a2.getName()));
}