@Test
public void testUpdateTemplatePolicyNoAssertions() {

    Policy policy = new Policy().setName("_domain_:policy.policy1");
    Policy newPolicy = zms.dbService.updateTemplatePolicy(policy, "athenz", null);
    
    assertEquals("athenz:policy.policy1", newPolicy.getName());
    List<Assertion> assertions = newPolicy.getAssertions();
    assertEquals(0, assertions.size());
}