PolicySet { @ApiModelProperty(value = "A non empty list of Policies that define the Policy set", required = true) public List<Policy> getPolicies() { return this.policies; } PolicySet();  PolicySet(final String name); @ApiModelProperty(value = "A non empty list of Policies that define the Policy set", required = true) List<Policy> getPolicies(); void setPolicies(final List<Policy> policies); @ApiModelProperty(value = "User defined name for the Policy set", required = false) String getName(); void setName(final String name); @SuppressWarnings("nls") @Override String toString();  }
@Test public void testLoadPolicySet() throws Exception { Assert.assertNotNull(this.policySet); Assert.assertEquals(this.policySet.getPolicies().size(), 7); }
@Test public void testLoadTargetAction() { Assert.assertEquals(this.policySet.getPolicies().get(0).getTarget().getAction(), "GET"); }
@Test public void testLoadConditions() { Assert.assertEquals(this.policySet.getPolicies().get(0).getConditions().size(), 1); }
@Test public void testLoadEffect() { Assert.assertEquals(this.policySet.getPolicies().get(0).getEffect(), Effect.PERMIT); }