* @author Thierry Boileau
*/
public class RoleTestCase extends RestletTestCase {
public void testRoleEquality() {
Role role1 = new Role("role", "");
Role role2 = new Role("role", "");
assertEquals(role1, role2);
Role role3 = new Role("role3", "");
Role role4 = new Role("role4", "");
role1.getChildRoles().add(role3);
role1.getChildRoles().add(role4);
assertNotSame(role1, role2);