@Test
public void testGetPolicyListEmptyValues() {

    DomainData domainData = new DomainData();
    SignedPolicies signedPolicies = new SignedPolicies();
    domainData.setPolicies(signedPolicies);
    List<com.yahoo.athenz.zts.Policy> policies = zts.getPolicyList(domainData);
    assertTrue(policies.isEmpty());
    DomainPolicies domainPolicies = new DomainPolicies();
    signedPolicies.setContents(domainPolicies);
    policies = zts.getPolicyList(domainData);
    assertTrue(policies.isEmpty());
    Policy policy = new Policy();
    policy.setName("policy1");
    List<Policy> zmsPolicies = new ArrayList<>();
    zmsPolicies.add(policy);
    domainPolicies.setPolicies(zmsPolicies);
    policies = zts.getPolicyList(domainData);
    assertEquals(1, policies.size());
    assertNull(policies.get(0).getAssertions());
}