30693070307130723073307430753076307730783079
rs.createRelation("relationId", "relationTypeB", roleList); boolean caught = false; try { rs.updateRoleMap(null, roleB1, new ArrayList()); } catch (IllegalArgumentException e) { caught = true; }
30813082308330843085308630873088308930903091
fail("updateRoleMap allows null relation id"); caught = false; try { rs.updateRoleMap("relationId", null, new ArrayList()); } catch (IllegalArgumentException e) { caught = true; }
30933094309530963097309830993100310131023103
fail("updateRoleMap allows null role"); caught = false; try { rs.updateRoleMap("rubbish", roleB1, new ArrayList()); } catch (RelationNotFoundException e) { caught = true; }
31073108310931103111311231133114311531163117
server.unregisterMBean(service); caught = false; try { rs.updateRoleMap("relationId", roleB1, new ArrayList()); } catch (RelationServiceNotRegisteredException e) { caught = true; }
30703071307230733074307530763077307830793080
30823083308430853086308730883089309030913092
30943095309630973098309931003101310231033104
31083109311031113112311331143115311631173118