@Test
public void testUpdateTemplateRoleWithTrust() {

    Role role = new Role().setName("_domain_:role.readers").setTrust("trustdomain");
    Role newRole = zms.dbService.updateTemplateRole(role, "athenz", null);
    assertEquals("athenz:role.readers", newRole.getName());
    assertEquals("trustdomain", newRole.getTrust());
    assertEquals(0, newRole.getRoleMembers().size());
}