assertNotNull("Mapping Context is not null", mc);
mc.performMapping(map, grp);
grp = (RoleGroup) mc.getMappingResult().getMappedObject();
assertFalse("oldRole does not exist", grp.containsRole(new SimpleRole("oldRole")));
assertTrue("t1 exists?",grp.containsRole(new SimpleRole("t1")));
assertTrue("t2 exists?",grp.containsRole(new SimpleRole("t2")));
}
public void testAttributeProvider()