@Test
public void testGetConfiguredRoleListExpiryTimeMinsMultipleDomainSetting() {

    Map<String, String[]> requestedRoleList = new HashMap<>();
    String[] roles = new String[1];
    roles[0] = "readers";
    requestedRoleList.put("athenz", roles);
    requestedRoleList.put("coretech", roles);
    DataCache data1 = new DataCache();
    Role role1 = new Role().setName("athenz:role.readers");
    data1.processRole(role1);
    DomainData domainData1 = new DomainData().setRoleCertExpiryMins(120);
    data1.setDomainData(domainData1);
    DataCache data2 = new DataCache();
    Role role2 = new Role().setName("coretech:role.readers");
    data2.processRole(role2);
    DomainData domainData2 = new DomainData().setRoleCertExpiryMins(90);
    data2.setDomainData(domainData2);
    zts.dataStore.getCacheStore().put("athenz", data1);
    zts.dataStore.getCacheStore().put("coretech", data2);
    assertEquals(zts.getConfiguredRoleListExpiryTimeMins(requestedRoleList), 90);
}