@Test
public void testProcessRoleTrustDomain() {

    
    DataCache cache = new DataCache();
    cache.processRoleTrustDomain("dom.role1", "trustD");
    
    Map<String, Set<String>> map = cache.getTrustMap();
    assertNotNull(map);
    assertEquals(map.size(), 1);
    assertTrue(map.containsKey("trustD"));
    assertEquals(map.get("trustD").size(), 1);
    assertTrue(map.get("trustD").contains("dom.role1"));
}